From a84fbecf9f6e158c723b47f390eb807ad5b1a719 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Wed, 26 Jan 2022 11:18:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E6=8F=90=E7=A4=BA=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mobile/src/locale/en.json | 3 ++- mobile/src/locale/zh-Hans.json | 3 ++- mobile/src/locale/zh-Hant.json | 3 ++- mobile/src/pages/tabBar/home/detail.nvue | 6 +++--- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/mobile/src/locale/en.json b/mobile/src/locale/en.json index 36f663af86..12505a46d6 100644 --- a/mobile/src/locale/en.json +++ b/mobile/src/locale/en.json @@ -18,7 +18,8 @@ "tw": "繁體中文", "zh": "简体中文", "sysLanguage": "Follow System", - "tips": "Tips" + "tips": "Tips", + "loading": "loading" }, "login": { diff --git a/mobile/src/locale/zh-Hans.json b/mobile/src/locale/zh-Hans.json index fc31dc389e..780d06d6d6 100644 --- a/mobile/src/locale/zh-Hans.json +++ b/mobile/src/locale/zh-Hans.json @@ -19,7 +19,8 @@ "tw": "繁體中文", "zh": "简体中文", "sysLanguage": "跟随系统", - "tips": "提示" + "tips": "提示", + "loading": "加载中" }, "login": { "title": "用户登录", diff --git a/mobile/src/locale/zh-Hant.json b/mobile/src/locale/zh-Hant.json index 2855594421..e2ca5b6406 100644 --- a/mobile/src/locale/zh-Hant.json +++ b/mobile/src/locale/zh-Hant.json @@ -19,7 +19,8 @@ "tw": "繁體中文", "zh": "简体中文", "sysLanguage": "跟隨系統", - "tips": "提示" + "tips": "提示", + "loading": "加載中" }, "login": { diff --git a/mobile/src/pages/tabBar/home/detail.nvue b/mobile/src/pages/tabBar/home/detail.nvue index 2b9637f4d0..efcc926bee 100644 --- a/mobile/src/pages/tabBar/home/detail.nvue +++ b/mobile/src/pages/tabBar/home/detail.nvue @@ -91,7 +91,7 @@ try { this.banner = JSON.parse(decodeURIComponent(payload)); uni.showLoading({ - title: 'loading' + title: this.$t('commons.loading') }); this.loadLinkUrl() } catch (error) { @@ -189,7 +189,7 @@ if(!this.hasStar) { uni.showToast({ icon: 'success', - title: '收藏成功' + title: this.$t('detail.starSuccess') }) } this.loadStarStatus() @@ -201,7 +201,7 @@ }, refresh() { uni.showLoading({ - title: 'loading' + title: this.$t('commons.loading') }); this.url = null