aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/locales/en
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
commit45993fadcc7a4e40acfb75bd0baa19c1354395da (patch)
tree08e716275442f530382735480159926dd51c7fcc /Timeline/ClientApp/src/app/locales/en
parent1f6c3002791a0d4399171e87f3eeb9df0cce930a (diff)
downloadtimeline-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.ts11
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',