Skip to content

Commit 7eba0e3

Browse files
added translations
1 parent a9508b7 commit 7eba0e3

File tree

5 files changed

+42
-8
lines changed

5 files changed

+42
-8
lines changed

client/packages/lowcoder/src/i18n/locales/de.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,14 @@ export const de: typeof en = {
15161516
"falseValues": "Text Wenn Falsch",
15171517
"allColumn": "Alle",
15181518
"visibleColumn": "Sichtbar",
1519-
"emptyColumns": "Derzeit sind keine Spalten sichtbar"
1519+
"emptyColumns": "Derzeit sind keine Spalten sichtbar",
1520+
"showSummary": "Zusammenfassungszeile(n) anzeigen",
1521+
"totalSummaryRows": "Gesamtzahl der Zeilen",
1522+
"inlineAddNewRow": "Inline neue Zeile(n) hinzufügen",
1523+
"editMode": "Bearbeitungsmodus",
1524+
"singleClick": "Einzelklick",
1525+
"doubleClick": "Doppelklick",
1526+
"showUpdateButtons": "Schaltflächen zum Speichern/Abbrechen anzeigen"
15201527
},
15211528
"image": {
15221529
...en.image,
@@ -2350,7 +2357,9 @@ export const de: typeof en = {
23502357
"clone": "Klonen",
23512358
"editorMode_layout": "Layout",
23522359
"editorMode_logic": "Logik",
2353-
"editorMode_both": "Beide"
2360+
"editorMode_both": "Beide",
2361+
"editorMode_layout_tooltip": "Passen Sie im rechten Fenster das Erscheinungsbild und Layout der Komponente an. Passen Sie Aussehen, Stil und Animationen an.",
2362+
"editorMode_logic_tooltip": "Richten Sie im rechten Fenster ein, wie Ihre Komponente funktioniert und interagiert. Verwalten Sie den Inhalt und das interaktive Verhalten."
23542363
},
23552364
"userAuth": {
23562365
...en.userAuth,

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2906,7 +2906,9 @@ export const en = {
29062906
"clone": "Clone",
29072907
"editorMode_layout": "Layout",
29082908
"editorMode_logic": "Logic",
2909-
"editorMode_both": "Both"
2909+
"editorMode_both": "Both",
2910+
"editorMode_layout_tooltip": "Customise the component's appearance and layout, in the right window. Adjust how it looks, styles, and animates.",
2911+
"editorMode_logic_tooltip": "Set up how your component works and interacts, in the right window. Manage its content and interactive behaviours."
29102912
},
29112913
"userAuth": {
29122914
"registerByEmail": "Sign Up",

client/packages/lowcoder/src/i18n/locales/pt.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,14 @@ export const pt: typeof en = {
20512051
"iconNull": "Ícone Quando Nulo",
20522052
"allColumn": "Todas",
20532053
"visibleColumn": "Visível",
2054-
"emptyColumns": "Nenhuma coluna está atualmente visível"
2054+
"emptyColumns": "Nenhuma coluna está atualmente visível",
2055+
"showSummary": "Mostrar linha(s) de resumo",
2056+
"totalSummaryRows": "Total de linhas",
2057+
"inlineAddNewRow": "Adicionar nova(s) linha(s) em linha",
2058+
"editMode": "Modo de edição",
2059+
"singleClick": "Clique Único",
2060+
"doubleClick": "Clique duplo",
2061+
"showUpdateButtons": "Mostrar botões Salvar/Cancelar",
20552062
},
20562063

20572064

@@ -2959,7 +2966,9 @@ export const pt: typeof en = {
29592966
"clone": "Clonar",
29602967
"editorMode_layout": "Layout",
29612968
"editorMode_logic": "Lógica",
2962-
"editorMode_both": "Ambos"
2969+
"editorMode_both": "Ambos",
2970+
"editorMode_layout_tooltip": "Personalize a aparência e o layout do componente, na janela direita. Ajuste sua aparência, estilo e animação.",
2971+
"editorMode_logic_tooltip": "Configure como seu componente funciona e interage, na janela direita. Gerencie seu conteúdo e comportamentos interativos."
29632972
},
29642973
"userAuth": {
29652974
...en.userAuth,

client/packages/lowcoder/src/i18n/locales/zh.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,6 +1546,13 @@ export const zh: typeof en = {
15461546
allColumn: "全部",
15471547
visibleColumn: "可见",
15481548
emptyColumns: "当前没有可见列",
1549+
showSummary: "显示摘要行",
1550+
totalSummaryRows: "总行数",
1551+
inlineAddNewRow: "内联添加新行",
1552+
editMode: "编辑模式",
1553+
singleClick: "单击",
1554+
doubleClick: "双击",
1555+
showUpdateButtons: "显示保存/取消按钮",
15491556
},
15501557
image: {
15511558
...en.image,
@@ -2344,6 +2351,8 @@ export const zh: typeof en = {
23442351
editorMode_layout: "应用程序布局",
23452352
editorMode_logic: "应用程序逻辑",
23462353
editorMode_both: "两者",
2354+
editorMode_layout_tooltip: "在右侧窗口中自定义组件的外观和布局。调整它的外观、样式和动画。",
2355+
editorMode_logic_tooltip: "在右侧窗口中设置组件的工作和交互方式。管理其内容和交互行为。"
23472356
},
23482357
userAuth: {
23492358
...en.userAuth,

client/packages/lowcoder/src/pages/common/header.tsx

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ import { AppPermissionDialog } from "../../components/PermissionDialog/AppPermis
5353
import { getBrandingConfig } from "../../redux/selectors/configSelectors";
5454
import { messageInstance } from "lowcoder-design/src/components/GlobalInstances";
5555
import { EditorContext } from "../../comps/editorState";
56+
import Tooltip from "antd/es/tooltip";
5657

5758
const StyledLink = styled.a`
5859
display: flex;
@@ -320,11 +321,13 @@ export default function Header(props: HeaderProps) {
320321
const editorModeOptions = [
321322
{
322323
label: trans("header.editorMode_layout"),
324+
tooltip: trans("header.editorMode_layout_tooltip"),
323325
key: "editorModeSelector_layout",
324326
value: "layout",
325327
},
326328
{
327329
label: trans("header.editorMode_logic"),
330+
tooltip: trans("header.editorMode_logic_tooltip"),
328331
key: "editorModeSelector_logic",
329332
value: "logic",
330333
},
@@ -398,9 +401,11 @@ export default function Header(props: HeaderProps) {
398401
size="small"
399402
>
400403
{editorModeOptions.map((option) => (
401-
<Radio.Button key={option.key} value={option.value}>
402-
{option.label}
403-
</Radio.Button>
404+
<Tooltip title={option.tooltip}>
405+
<Radio.Button key={option.key} value={option.value}>
406+
{option.label}
407+
</Radio.Button>
408+
</Tooltip>
404409
))}
405410
</Radio.Group>
406411
<IconRadius>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy