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 | 3b7ebc77d9abd0bcdbc78788623b3dd019e8ea80 (patch) | |
| tree | d36955309e84a219f50f14ce27a5ea5c263f7bbb /Timeline/ClientApp/src/app/locales/en | |
| parent | 41825ea3d063ebf5a1dca562e4bd048d647409e1 (diff) | |
| download | timeline-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/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', |
