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