From 72d4e40da3db1d99a03c2833d6391cba35044db7 Mon Sep 17 00:00:00 2001 From: 05412 <2738076308@qq.com> Date: Thu, 1 Aug 2024 18:36:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0i18n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 13 +-- src/components/views/HomeView.vue | 89 ++++++++++++++----- src/plugins/vuetify.ts | 13 +++ src/script/functions.ts | 35 +++++++- src/script/i18n/en.ts | 28 ++++++ src/script/i18n/locale-interface.ts | 127 ++++++++++++++++++++++++++++ src/script/i18n/zhHans.ts | 28 ++++++ src/stores/userinfo-store.ts | 12 ++- 8 files changed, 311 insertions(+), 34 deletions(-) create mode 100644 src/script/i18n/en.ts create mode 100644 src/script/i18n/locale-interface.ts create mode 100644 src/script/i18n/zhHans.ts diff --git a/src/App.vue b/src/App.vue index 2b69df2..ef7ec04 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,13 @@