Commit 1f55c4180f9c0cf48e3796a77d6f0bfd46107272

Authored by 无木
1 parent 4b6025cb

fix(i18n): add i18n translate data

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