Skip to content

Commit be66a29

Browse files
author
Thomas
committed
Merge branch 'dev' of https://github.com/th37rose/lowcoder_dev1 into feature/bundle
2 parents cc632b0 + 4e5e0b1 commit be66a29

File tree

17 files changed

+593
-176
lines changed

17 files changed

+593
-176
lines changed

client/packages/lowcoder-design/src/components/Section.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,5 @@ export const sectionNames = {
158158
headerStyle:trans("prop.headerStyle"),
159159
bodyStyle:trans("prop.bodyStyle"),
160160
badgeStyle:trans("prop.badgeStyle"),
161+
columnStyle:trans("prop.columnStyle"),
161162
};

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export const en = {
3737
headerStyle: 'Header Style',
3838
bodyStyle: 'Body Style',
3939
badgeStyle: 'Badge Style',
40+
columnStyle: 'Column Style',
4041
},
4142
passwordInput: {
4243
label: "Password:",

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

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
export const zh = {
1+
import {en} from "./en";
2+
3+
export const zh: typeof en = {
4+
...en,
25
addItem: "添加",
36
duplicate: "复制",
47
rename: "重命名",
@@ -10,54 +13,64 @@ export const zh = {
1013
nextStep: "下一步",
1114
finish: "完成",
1215
country: {
13-
china: "中国",
16+
...en.country,
17+
china: "中国",
1418
},
1519
notification: {
16-
copySuccess: "复制成功",
17-
copyFail: "复制失败",
20+
...en.notification,
21+
copySuccess: "复制成功",
22+
copyFail: "复制失败",
1823
},
1924
prop: {
20-
basic: "基础",
21-
resources: "资源",
22-
interaction: "交互",
23-
advanced: "高级",
24-
validation: "验证",
25-
layout: "布局",
26-
labelStyle:"标签样式",
27-
style: "样式",
28-
meetings: "会议",
29-
data: "数据",
25+
...en.prop,
26+
basic: "基础",
27+
resources: "资源",
28+
interaction: "交互",
29+
advanced: "高级",
30+
validation: "验证",
31+
layout: "布局",
32+
labelStyle:"标签样式",
33+
style: "样式",
34+
meetings: "会议",
35+
data: "数据",
3036
},
3137
passwordInput: {
38+
...en.passwordInput,
3239
label: "密码:",
3340
placeholder: "请输入密码",
3441
inconsistentPassword: "两次密码输入不一致",
3542
confirmPasswordLabel: "确认密码:",
3643
confirmPasswordPlaceholder: "请再次输入密码",
3744
},
3845
verifyCodeInput: {
46+
...en.verifyCodeInput,
3947
label: "验证码:",
4048
errorMsg: "验证码应为 {digitNum} 位数字",
4149
placeholder: "请输入 {digitNum} 位数字验证码",
4250
sendCode: "发送验证码",
4351
},
4452
iconSelect: {
53+
...en.iconSelect,
4554
title: "选择图标",
4655
searchPlaceholder: "搜索图标",
4756
},
4857
eventHandler: {
58+
...en.eventHandler,
4959
advanced: "高级",
5060
},
5161
comp: {
62+
...en.comp,
5263
selectedCompsTitle: "已选择 {selectCompNum} 个组件",
5364
selectedCompsDetail: "点击组件查看其属性",
5465
batchDelete: "批量删除",
5566
},
5667
optionsControl: {
68+
...en.optionsControl,
5769
optionItemErrorMSg: `发现重复的选项值 "{value}",只会显示第一项,请更改为唯一值.`,
5870
emptyList: "无选项",
5971
},
6072
container: {
73+
...en.container,
6174
hintPlaceHolder: "从右侧面板拖动组件",
6275
},
6376
};

client/packages/lowcoder-design/src/icons/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ export { ReactComponent as ChartCompIconSmall } from "./v2/pie-chart-s.svg";
264264
export { ReactComponent as CheckboxCompIconSmall } from "./v2/checkbox-s.svg";
265265
export { ReactComponent as ColorPickerCompIconSmall } from "./v2/colorpicker-s.svg"; // new
266266
export { ReactComponent as CollapsibleContainerCompIconSmall } from "./v2/collapsible-container-s.svg"; // new
267+
export { ReactComponent as ColumnLayoutCompIconSmall } from "./v2/column-layout-s.svg"; // new
267268
export { ReactComponent as CommentCompIconSmall } from "./v2/comment-s.svg";
268269
export { ReactComponent as ContainerCompIconSmall } from "./v2/container-s.svg";
269270
export { ReactComponent as CustomCompIconSmall } from "./v2/custom-code-s.svg"; // new
@@ -365,6 +366,7 @@ export { ReactComponent as CascaderCompIcon } from "./v2/cascader-m.svg";
365366
export { ReactComponent as ChartCompIcon } from "./v2/pie-chart-m.svg";
366367
export { ReactComponent as CheckboxCompIcon } from "./v2/checkbox-m.svg";
367368
export { ReactComponent as CollapsibleContainerCompIcon } from "./v2/collapsible-container-m.svg";
369+
export { ReactComponent as ColumnLayoutCompIcon } from "./v2/column-layout-m.svg";
368370
export { ReactComponent as CommentCompIcon } from "./v2/comment-m.svg";
369371
export { ReactComponent as ColorPickerCompIcon } from "./v2/colorpicker-m.svg";
370372
export { ReactComponent as ContainerCompIcon } from "./v2/container-m.svg";

0 commit comments

Comments
 (0)