From 53288f45aa10450e538ca9a5e807b43337962a6d Mon Sep 17 00:00:00 2001 From: Cloyir Date: Mon, 12 Jan 2026 04:31:40 +0800 Subject: [PATCH] =?UTF-8?q?i18n=E6=96=B0=E7=89=88=E6=89=93=E5=8C=85?= =?UTF-8?q?=E5=90=8E=E4=BC=9A=E5=A4=B1=E6=95=88=E6=95=85=E5=9B=9E=E9=80=80?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- pnpm-lock.yaml | 53 ++++++++++++++++++-------------------------------- src/App.vue | 1 - 3 files changed, 20 insertions(+), 36 deletions(-) diff --git a/package.json b/package.json index c9f3019..f636fe9 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "@tauri-apps/plugin-opener": "^2", "socket.io-client": "^4.8.1", "vue": "^3.5.13", - "vue-i18n": "12.0.0-alpha.3" + "vue-i18n": "^11.1.7" }, "devDependencies": { "@tauri-apps/cli": "^2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 924ab61..c839cc6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: ^3.5.13 version: 3.5.26 vue-i18n: - specifier: 12.0.0-alpha.3 - version: 12.0.0-alpha.3(vue@3.5.26) + specifier: ^11.1.7 + version: 11.2.8(vue@3.5.26) devDependencies: '@tauri-apps/cli': specifier: ^2 @@ -209,24 +209,18 @@ packages: cpu: [x64] os: [win32] - '@intlify/core-base@12.0.0-alpha.3': - resolution: {integrity: sha512-LEvBHBUbiOOtIBkp4IIQENVC5Fg2YHsvdXN1+WRIxQ8hzHbHSBiqZ2l68B/yg8sE1a4S7dqhkaAedunShWPH+Q==} + '@intlify/core-base@11.2.8': + resolution: {integrity: sha512-nBq6Y1tVkjIUsLsdOjDSJj4AsjvD0UG3zsg9Fyc+OivwlA/oMHSKooUy9tpKj0HqZ+NWFifweHavdljlBLTwdA==} engines: {node: '>= 16'} - '@intlify/message-compiler@12.0.0-alpha.3': - resolution: {integrity: sha512-mDDTN3gfYOHhBnpnlby19UHyvMaOnzdlpsIrxUfs44R/vCATfn8pMOkE8PXD2t410xkocEj3FpDcC9XC/0v4Dg==} + '@intlify/message-compiler@11.2.8': + resolution: {integrity: sha512-A5n33doOjmHsBtCN421386cG1tWp5rpOjOYPNsnpjIJbQ4POF0QY2ezhZR9kr0boKwaHjbOifvyQvHj2UTrDFQ==} engines: {node: '>= 16'} - '@intlify/shared@12.0.0-alpha.3': - resolution: {integrity: sha512-ryaNYBvxQjyJUmVuBBg+HHUsmGnfxcEUPR0NCeG4/K9N2qtyFE35C80S15IN6iYFE2MGWLN7HfOSyg0MXZIc9w==} + '@intlify/shared@11.2.8': + resolution: {integrity: sha512-l6e4NZyUgv8VyXXH4DbuucFOBmxLF56C/mqh2tvApbzl2Hrhi1aTDcuv5TKdxzfHYmpO3UB0Cz04fgDT9vszfw==} engines: {node: '>= 16'} - '@intlify/vue-i18n-core@12.0.0-alpha.3': - resolution: {integrity: sha512-YwAfTQILHN+VoK0P/Yv47GbKnEf1lhfbliyVyW3knAL1EmT8m0m3rwffXJnwyQhYw8Jpx85CpL49WkSgyi6d/g==} - engines: {node: '>= 16'} - peerDependencies: - vue: ^3.0.0 - '@jridgewell/sourcemap-codec@1.5.5': resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} @@ -623,10 +617,9 @@ packages: yaml: optional: true - vue-i18n@12.0.0-alpha.3: - resolution: {integrity: sha512-+KQgD9LJoHfGCdJh3gaLdVS/Sps1n860+6wsjyeNLWJeEofjdVH7KPjz4rAeBlTAUaIDlIjHoXQY0Lk+8B6S9w==} + vue-i18n@11.2.8: + resolution: {integrity: sha512-vJ123v/PXCZntd6Qj5Jumy7UBmIuE92VrtdX+AXr+1WzdBHojiBxnAxdfctUFL+/JIN+VQH4BhsfTtiGsvVObg==} engines: {node: '>= 16'} - deprecated: This version is NOT deprecated. Previous deprecation was a mistake. peerDependencies: vue: ^3.0.0 @@ -747,24 +740,17 @@ snapshots: '@esbuild/win32-x64@0.25.12': optional: true - '@intlify/core-base@12.0.0-alpha.3': + '@intlify/core-base@11.2.8': dependencies: - '@intlify/message-compiler': 12.0.0-alpha.3 - '@intlify/shared': 12.0.0-alpha.3 + '@intlify/message-compiler': 11.2.8 + '@intlify/shared': 11.2.8 - '@intlify/message-compiler@12.0.0-alpha.3': + '@intlify/message-compiler@11.2.8': dependencies: - '@intlify/shared': 12.0.0-alpha.3 + '@intlify/shared': 11.2.8 source-map-js: 1.2.1 - '@intlify/shared@12.0.0-alpha.3': {} - - '@intlify/vue-i18n-core@12.0.0-alpha.3(vue@3.5.26)': - dependencies: - '@intlify/core-base': 12.0.0-alpha.3 - '@intlify/shared': 12.0.0-alpha.3 - '@vue/devtools-api': 6.6.4 - vue: 3.5.26 + '@intlify/shared@11.2.8': {} '@jridgewell/sourcemap-codec@1.5.5': {} @@ -1106,11 +1092,10 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - vue-i18n@12.0.0-alpha.3(vue@3.5.26): + vue-i18n@11.2.8(vue@3.5.26): dependencies: - '@intlify/core-base': 12.0.0-alpha.3 - '@intlify/shared': 12.0.0-alpha.3 - '@intlify/vue-i18n-core': 12.0.0-alpha.3(vue@3.5.26) + '@intlify/core-base': 11.2.8 + '@intlify/shared': 11.2.8 '@vue/devtools-api': 6.6.4 vue: 3.5.26 diff --git a/src/App.vue b/src/App.vue index 52cb411..85e1206 100644 --- a/src/App.vue +++ b/src/App.vue @@ -140,7 +140,6 @@ onUnmounted(() => { {{ connected ? $t('common.connected') : $t('common.disconnected') }} - {{ $t('common.user_id') }}: {{ userId }}