aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/locales/zh
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-06-12 15:42:08 +0800
committercrupest <crupest@outlook.com>2020-06-12 15:42:08 +0800
commit3b7ebc77d9abd0bcdbc78788623b3dd019e8ea80 (patch)
treed36955309e84a219f50f14ce27a5ea5c263f7bbb /Timeline/ClientApp/src/app/locales/zh
parent41825ea3d063ebf5a1dca562e4bd048d647409e1 (diff)
downloadtimeline-3b7ebc77d9abd0bcdbc78788623b3dd019e8ea80.tar.gz
timeline-3b7ebc77d9abd0bcdbc78788623b3dd019e8ea80.tar.bz2
timeline-3b7ebc77d9abd0bcdbc78788623b3dd019e8ea80.zip
feat(front): 2 enhance on app upgrade.
1. Other pages show alert to refresh when a page confirm upgrade. 2. Upgrade success alert.
Diffstat (limited to 'Timeline/ClientApp/src/app/locales/zh')
-rw-r--r--Timeline/ClientApp/src/app/locales/zh/translation.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/Timeline/ClientApp/src/app/locales/zh/translation.ts b/Timeline/ClientApp/src/app/locales/zh/translation.ts
index 03fb470a..fba06c7f 100644
--- a/Timeline/ClientApp/src/app/locales/zh/translation.ts
+++ b/Timeline/ClientApp/src/app/locales/zh/translation.ts
@@ -4,9 +4,13 @@ const translation: TranslationResource = {
welcome: '欢迎!',
search: '搜索',
serviceWorker: {
- availableOffline: '这个 App 将会缓存在本地,你将可以离线使用它。',
- upgradeTitle: 'App 有新版本!',
+ availableOffline: 'Timeline 已经缓存在本地,你可以离线使用它。🎉🎉🎉',
+ upgradePrompt: 'App 有新版本!',
upgradeNow: '现在升级',
+ upgradeSuccess: 'App 升级成功,当然,你仍可以离线使用它。 🎉🎉🎉',
+ externalActivatedPrompt:
+ '一个新的 App 版本已经激活,请刷新页面使用,否则页面可能会出现故障。',
+ reloadNow: '立刻刷新',
},
nav: {
settings: '设置',