From 0d4e3079aa53f9553eb538951b6ebd6bf4a7a2ee Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 7 Aug 2020 18:27:04 +0800 Subject: Create home page for offline. --- Timeline/ClientApp/src/app/locales/en/translation.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Timeline/ClientApp/src/app/locales/en') diff --git a/Timeline/ClientApp/src/app/locales/en/translation.ts b/Timeline/ClientApp/src/app/locales/en/translation.ts index 2f8fb312..e7f395e1 100644 --- a/Timeline/ClientApp/src/app/locales/en/translation.ts +++ b/Timeline/ClientApp/src/app/locales/en/translation.ts @@ -3,6 +3,7 @@ import TranslationResource from '../scheme'; const translation: TranslationResource = { welcome: 'Welcome!', search: 'Search', + loadFailReload: 'Load failed, click <1>here to reload.', serviceWorker: { availableOffline: 'Timeline is now cached in your computer and you can use it offline. 🎉🎉🎉', @@ -26,6 +27,8 @@ const translation: TranslationResource = { allTimeline: 'All Timelines', joinTimeline: 'Joined Timelines', ownTimeline: 'Owned Timelines', + offlinePrompt: + 'Oh oh, it seems you are offline. Here list some timelines cached locally. You can view them or click <1>here to refresh.', createButton: 'Create Timeline', createDialog: { title: 'Create Timeline!', -- cgit v1.2.3