Commit 1f55c4180f9c0cf48e3796a77d6f0bfd46107272
1 parent
4b6025cb
fix(i18n): add i18n translate data
添加部分缺失的翻译文案
Showing
3 changed files
with
3 additions
and
0 deletions
.vscode/settings.json
@@ -117,6 +117,7 @@ | @@ -117,6 +117,7 @@ | ||
117 | "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}", | 117 | "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}", |
118 | "i18n-ally.enabledParsers": ["ts"], | 118 | "i18n-ally.enabledParsers": ["ts"], |
119 | "i18n-ally.sourceLanguage": "en", | 119 | "i18n-ally.sourceLanguage": "en", |
120 | + "i18n-ally.displayLanguage": "zh-CN", | ||
120 | "i18n-ally.enabledFrameworks": ["vue", "react"], | 121 | "i18n-ally.enabledFrameworks": ["vue", "react"], |
121 | "cSpell.words": [ | 122 | "cSpell.words": [ |
122 | "vben", | 123 | "vben", |
src/locales/lang/en/component.ts
@@ -20,6 +20,7 @@ export default { | @@ -20,6 +20,7 @@ export default { | ||
20 | btn_scale_y: 'Flip vertical', | 20 | btn_scale_y: 'Flip vertical', |
21 | btn_zoom_in: 'Zoom in', | 21 | btn_zoom_in: 'Zoom in', |
22 | btn_zoom_out: 'Zoom out', | 22 | btn_zoom_out: 'Zoom out', |
23 | + preview: 'Preivew', | ||
23 | }, | 24 | }, |
24 | drawer: { | 25 | drawer: { |
25 | loadingText: 'Loading...', | 26 | loadingText: 'Loading...', |
src/locales/lang/zh-CN/component.ts
@@ -20,6 +20,7 @@ export default { | @@ -20,6 +20,7 @@ export default { | ||
20 | btn_scale_y: '垂直翻转', | 20 | btn_scale_y: '垂直翻转', |
21 | btn_zoom_in: '放大', | 21 | btn_zoom_in: '放大', |
22 | btn_zoom_out: '缩小', | 22 | btn_zoom_out: '缩小', |
23 | + preview: '预览', | ||
23 | }, | 24 | }, |
24 | drawer: { | 25 | drawer: { |
25 | loadingText: '加载中...', | 26 | loadingText: '加载中...', |