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`) }}