Skip to content

Commit

Permalink
fix(designable-antd): fix locales
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Aug 25, 2021
1 parent 026ea1c commit 27be265
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion designable/antd/src/locales/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ const FormGridLocale = {
}

const SpaceLocale = {
align: 'Align',
direction: { title: 'Direction', dataSource: ['Vertical', 'Horizontal'] },
split: 'Split',
wrap: 'Word Wrap',
Expand Down Expand Up @@ -444,6 +443,12 @@ export default {
dataSource: ['H1', 'H2', 'H3', 'Paragraph', 'Normal'],
},
},
Space: {
align: {
title: 'Align',
dataSource: ['Start', 'End', 'Center', 'Baseline'],
},
},
},
},
Common: {
Expand Down
7 changes: 6 additions & 1 deletion designable/antd/src/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ const FormGridLocale = {
}

const SpaceLocale = {
align: '对齐',
direction: { title: '方向', dataSource: ['垂直', '水平'] },
split: '分割内容',
wrap: '自动换行',
Expand Down Expand Up @@ -437,6 +436,12 @@ export default {
dataSource: ['H1', 'H2', 'H3', 'Paragraph', 'Normal'],
},
},
Space: {
align: {
title: '对齐',
dataSource: ['头部', '尾部', '居中', '基准线'],
},
},
},
},
Common: {
Expand Down

0 comments on commit 27be265

Please sign in to comment.