From b03fd269f9e042e7d88ecfeed448f64127b08dcd Mon Sep 17 00:00:00 2001 From: wang_fan_w <2547096351@qq.com> Date: Sun, 16 Jun 2024 23:29:01 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9B=BD=E9=99=85=E5=8C=96=E9=A2=84?= =?UTF-8?q?=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/modules/enUS.ts | 3 +- src/lang/modules/zhCN.ts | 3 +- src/layout/components/Menu/index copy.vue | 46 ------------------- .../internationalization.vue | 2 +- 4 files changed, 5 insertions(+), 49 deletions(-) delete mode 100644 src/layout/components/Menu/index copy.vue diff --git a/src/lang/modules/enUS.ts b/src/lang/modules/enUS.ts index ce6278b..7b08550 100644 --- a/src/lang/modules/enUS.ts +++ b/src/lang/modules/enUS.ts @@ -47,6 +47,7 @@ export default { ["logout"]: "logout", ["notice"]: "Notice", ["message"]: "Message", - ["backlog"]: "Backlog" + ["backlog"]: "Backlog", + ["switch-language-to-preview"]: "Please switch the language to preview the internationalization effect" } }; diff --git a/src/lang/modules/zhCN.ts b/src/lang/modules/zhCN.ts index 4764bf5..cd9a366 100644 --- a/src/lang/modules/zhCN.ts +++ b/src/lang/modules/zhCN.ts @@ -47,6 +47,7 @@ export default { ["logout"]: "退出登录", ["notice"]: "通知", ["message"]: "消息", - ["backlog"]: "待办" + ["backlog"]: "待办", + ["switch-language-to-preview"]: "请切换语言来预览国际化效果" } }; diff --git a/src/layout/components/Menu/index copy.vue b/src/layout/components/Menu/index copy.vue deleted file mode 100644 index 0b1ff0f..0000000 --- a/src/layout/components/Menu/index copy.vue +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - diff --git a/src/views/internationalization/internationalization.vue b/src/views/internationalization/internationalization.vue index 415306a..09860df 100644 --- a/src/views/internationalization/internationalization.vue +++ b/src/views/internationalization/internationalization.vue @@ -1,6 +1,6 @@ - 请切换语言来预览国际化效果 + {{ $t(`language.switch-language-to-preview`) }}
请切换语言来预览国际化效果
{{ $t(`language.switch-language-to-preview`) }}