Skip to content

Commit

Permalink
fix(i18n): add i18n translate data
Browse files Browse the repository at this point in the history
  • Loading branch information
zmtlwzy committed Feb 11, 2022
1 parent bba358d commit 93cf3d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/default/setting/SettingDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
/>

<SliderItem
:title="`一级菜单缩进`"
:title="t('layout.setting.menuRootIndent')"
:max="64"
:min="16"
:step="1"
Expand All @@ -109,7 +109,7 @@
/>

<SliderItem
:title="`菜单缩进`"
:title="t('layout.setting.menuIndent')"
:max="64"
:min="16"
:step="1"
Expand Down
3 changes: 3 additions & 0 deletions src/locales/lang/en/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export default {
menuTypeMixSidebar: 'Left menu mixed mode',
menuTypeMix: 'Top Menu Mix mode',
menuTypeTopMenu: 'Top menu mode',
// menu indent
menuRootIndent: 'Root indent',
menuIndent: 'Indent',
// color
primaryColor: 'Primary Color',

Expand Down
3 changes: 3 additions & 0 deletions src/locales/lang/zh_CN/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ export default {
menuTypeMixSidebar: '左侧菜单混合模式',
menuTypeMix: '顶部菜单混合模式',
menuTypeTopMenu: '顶部菜单模式',
// menu indent
menuRootIndent: '一级菜单缩进',
menuIndent: '菜单缩进',
// color
primaryColor: '强调色',

Expand Down

0 comments on commit 93cf3d4

Please sign in to comment.