From f9e9899e0ecf9227f3d38094a9f88ae8e63f8bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Fri, 28 Mar 2025 11:10:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E4=B8=BA=E8=8B=B1=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/locales/en.js | 3 ++- common/locales/zh.js | 3 ++- manifest.json | 2 +- pages/mine/about.vue | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/common/locales/en.js b/common/locales/en.js index 2e54359..28ec83f 100644 --- a/common/locales/en.js +++ b/common/locales/en.js @@ -183,5 +183,6 @@ export default { expand:'Expand to view more', remarks:'Remarks', channel:'Channel', - Nodata:'No data available at the moment!' + Nodata:'No data available at the moment!', + versionmsg:'It is already the latest version!' } \ No newline at end of file diff --git a/common/locales/zh.js b/common/locales/zh.js index 6980966..a9d1444 100644 --- a/common/locales/zh.js +++ b/common/locales/zh.js @@ -182,6 +182,7 @@ export default { expand:'展开查看更多', remarks:'备注', channel:'渠道', - Nodata:'暂无数据!' + Nodata:'暂无数据!', + versionmsg:'已是最新版本!' } \ No newline at end of file diff --git a/manifest.json b/manifest.json index ecf2519..9c3ac43 100644 --- a/manifest.json +++ b/manifest.json @@ -5,7 +5,7 @@ "versionName" : "1.0.0", "versionCode" : "100", "transformPx" : false, - "locale" : "zh-Hans", // 设置默认语言, + "locale" : "en", // 设置默认语言, "app-plus" : { "usingComponents" : true, "nvueCompiler" : "uni-app", diff --git a/pages/mine/about.vue b/pages/mine/about.vue index 8b96147..d7f4def 100644 --- a/pages/mine/about.vue +++ b/pages/mine/about.vue @@ -10,7 +10,7 @@ @@ -38,7 +38,7 @@ }, handleVersionUpdate() { uni.showToast({ - title: '检查版本更新', + title: this.$t('versionmsg'), icon: 'none' }); },