Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 60643ca

Browse files
Add more translations for tooltips
1 parent 217cfad commit 60643ca

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

‎client/packages/lowcoder/src/comps/comps/tourComp/tourTooltips.tsx‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,32 +66,32 @@ export const TourPlacementTooltip = (
6666
{trans("tour.placement.tooltip")}
6767
<br />
6868
<br />
69-
<h4>Valid options</h4>
70-
<h5>Above the component:</h5>
69+
<h4>{trans("tour.placement.tooltipValidOptions")}</h4>
70+
<h5>{trans("tour.placement.tooltipValidOptionsAbove")}</h5>
7171
<ul>
7272
<li><code>topLeft</code></li>
7373
<li><code>top</code></li>
7474
<li><code>topRight</code></li>
7575
</ul>
76-
<h5>To the left of the component:</h5>
76+
<h5>{trans("tour.placement.tooltipValidOptionsLeft")}</h5>
7777
<ul>
7878
<li><code>leftTop</code></li>
7979
<li><code>left</code></li>
8080
<li><code>leftBottom</code></li>
8181
</ul>
82-
<h5>To the right of the component:</h5>
82+
<h5>{trans("tour.placement.tooltipValidOptionsRight")}</h5>
8383
<ul>
8484
<li><code>rightTop</code></li>
8585
<li><code>right</code></li>
8686
<li><code>rightBottom</code></li>
8787
</ul>
88-
<h5>Below the component:</h5>
88+
<h5>{trans("tour.placement.tooltipValidOptionsBelow")}</h5>
8989
<ul>
9090
<li><code>bottomLeft</code></li>
9191
<li><code>bottom</code></li>
9292
<li><code>bottomRight</code></li>
9393
</ul>
94-
<h5>On top of the component:</h5>
94+
<h5>{trans("tour.placement.tooltipValidOptionsOnTop")}</h5>
9595
<ul>
9696
<li>center</li>
9797
</ul>

‎client/packages/lowcoder/src/i18n/locales/en.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2882,7 +2882,12 @@ export const en = {
28822882
placement: {
28832883
label: "Placement",
28842884
tooltip: "Position of the guide card relative to the target element. Can be overridden at the step level.",
2885-
tooltipValidOptions: "center left leftTop leftBottom right rightTop rightBottom top topLeft topRight bottom bottomLeft bottomRight"
2885+
tooltipValidOptions: "Valid options",
2886+
tooltipValidOptionsAbove: "Above the component:",
2887+
tooltipValidOptionsLeft: "To the left of the component:",
2888+
tooltipValidOptionsRight: "To the right of the component:",
2889+
tooltipValidOptionsBelow: "Below the component:",
2890+
tooltipValidOptionsOnTop: "On top of the component:",
28862891
},
28872892
arrow: {
28882893
label: "Arrow",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /