diff options
author | crupest <crupest@outlook.com> | 2020-06-12 15:42:08 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-06-12 15:42:08 +0800 |
commit | 45993fadcc7a4e40acfb75bd0baa19c1354395da (patch) | |
tree | 08e716275442f530382735480159926dd51c7fcc /Timeline/ClientApp/src/app/locales/zh | |
parent | 1f6c3002791a0d4399171e87f3eeb9df0cce930a (diff) | |
download | timeline-45993fadcc7a4e40acfb75bd0baa19c1354395da.tar.gz timeline-45993fadcc7a4e40acfb75bd0baa19c1354395da.tar.bz2 timeline-45993fadcc7a4e40acfb75bd0baa19c1354395da.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.ts | 8 |
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: '设置', |