From 61d247a14ed48222d189e431a40e17bf70e17540 Mon Sep 17 00:00:00 2001 From: notte <54543761+ikxin@users.noreply.github.com> Date: Thu, 2 Apr 2026 18:02:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E7=B9=81=E4=BD=93?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E3=80=81=E4=BF=84=E8=AF=AD=E3=80=81=E6=B3=95?= =?UTF-8?q?=E8=AF=AD=E3=80=81=E9=9F=A9=E8=AF=AD=E7=AD=89=E5=A4=9A=E7=A7=8D?= =?UTF-8?q?=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/app.vue | 2 +- app/components/AppFooter.vue | 7 +- app/components/CommonActivate.vue | 2 +- app/pages/activate.vue | 135 +-- app/pages/check/index.vue | 48 +- app/pages/monitor.vue | 3 +- i18n/locales/ar.json | 124 +++ i18n/locales/de.json | 124 +++ i18n/locales/es.json | 124 +++ i18n/locales/fr.json | 124 +++ i18n/locales/ja.json | 124 +++ i18n/locales/ko.json | 124 +++ i18n/locales/pt.json | 124 +++ i18n/locales/ru.json | 124 +++ i18n/locales/zh-tw.json | 124 +++ nuxt.config.ts | 64 ++ package.json | 4 +- pnpm-lock.yaml | 1690 +++++++++++++++-------------- 18 files changed, 2161 insertions(+), 910 deletions(-) create mode 100644 i18n/locales/ar.json create mode 100644 i18n/locales/de.json create mode 100644 i18n/locales/es.json create mode 100644 i18n/locales/fr.json create mode 100644 i18n/locales/ja.json create mode 100644 i18n/locales/ko.json create mode 100644 i18n/locales/pt.json create mode 100644 i18n/locales/ru.json create mode 100644 i18n/locales/zh-tw.json diff --git a/app/app.vue b/app/app.vue index 49bb58fd..087d1779 100644 --- a/app/app.vue +++ b/app/app.vue @@ -3,7 +3,7 @@ const monitorData = useState('monitorData') const { locale } = useI18n() const echartsLocale = computed(() => { - if (locale.value === 'zh-cn') return 'ZH' + if (locale.value.startsWith('zh')) return 'ZH' return 'EN' }) diff --git a/app/components/AppFooter.vue b/app/components/AppFooter.vue index 5b0ba18f..c59faed5 100644 --- a/app/components/AppFooter.vue +++ b/app/components/AppFooter.vue @@ -1,10 +1,7 @@