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/en | |
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/en')
-rw-r--r-- | Timeline/ClientApp/src/app/locales/en/translation.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Timeline/ClientApp/src/app/locales/en/translation.ts b/Timeline/ClientApp/src/app/locales/en/translation.ts index b9fa42c9..6bac41f9 100644 --- a/Timeline/ClientApp/src/app/locales/en/translation.ts +++ b/Timeline/ClientApp/src/app/locales/en/translation.ts @@ -5,9 +5,14 @@ const translation: TranslationResource = { search: 'Search', serviceWorker: { availableOffline: - 'This app will be cached in your computer and you can use it offline.', - upgradeTitle: 'App is getting a new version!', - upgradeNow: 'Upgrade Now', + 'Timeline is now cached in your computer and you can use it offline. 🎉🎉🎉', + upgradePrompt: 'App is getting a new version!', + upgradeNow: 'Update Now', + upgradeSuccess: + 'Congratulations! App update succeeded! Still you can use it offline. 🎉🎉🎉', + externalActivatedPrompt: + 'A new version of app is activated. Please refresh the page. Or it may be broken.', + reloadNow: 'Refresh Now', }, nav: { settings: 'Settings', |