From 65c9e9c48a9af146285e792010f430a3c5f1ab66 Mon Sep 17 00:00:00 2001 From: Tim Weber <19275468+wbrtm@users.noreply.github.com> Date: Wed, 2 Nov 2022 14:20:29 +0100 Subject: [PATCH 1/2] fix offline notification text --- src/frontend/components/UI/OfflineMessage/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/components/UI/OfflineMessage/index.tsx b/src/frontend/components/UI/OfflineMessage/index.tsx index 662c53487f..623149bd64 100644 --- a/src/frontend/components/UI/OfflineMessage/index.tsx +++ b/src/frontend/components/UI/OfflineMessage/index.tsx @@ -18,7 +18,7 @@ const OfflineMessage = () => { if (connectivity.status === 'check-online') { if (connectivity.retryIn) { content += t('offline-message.retry-in', { - defaultValue: 'Retrying in ... {{seconds}} seconds', + defaultValue: '. Retrying in {{seconds}} seconds.', seconds: connectivity.retryIn }) } else { From 562a533e579f3072f7ae76ded33e4178ba195205 Mon Sep 17 00:00:00 2001 From: Tim Weber <19275468+wbrtm@users.noreply.github.com> Date: Tue, 8 Nov 2022 19:04:08 +0100 Subject: [PATCH 2/2] use separate strings for offline statuses --- public/locales/az/translation.json | 2 +- public/locales/be/translation.json | 2 +- public/locales/bg/translation.json | 2 +- public/locales/bs/translation.json | 2 +- public/locales/ca/translation.json | 2 +- public/locales/cs/translation.json | 2 +- public/locales/de/translation.json | 2 +- public/locales/el/translation.json | 2 +- public/locales/en/translation.json | 2 +- public/locales/es/translation.json | 2 +- public/locales/et/translation.json | 2 +- public/locales/eu/translation.json | 2 +- public/locales/fa/translation.json | 2 +- public/locales/fi/translation.json | 2 +- public/locales/fr/translation.json | 2 +- public/locales/gl/translation.json | 2 +- public/locales/hr/translation.json | 2 +- public/locales/hu/translation.json | 2 +- public/locales/id/translation.json | 2 +- public/locales/it/translation.json | 2 +- public/locales/ja/translation.json | 2 +- public/locales/ko/translation.json | 2 +- public/locales/ml/translation.json | 2 +- public/locales/nb_NO/translation.json | 2 +- public/locales/nl/translation.json | 2 +- public/locales/pl/translation.json | 2 +- public/locales/pt/translation.json | 2 +- public/locales/pt_BR/translation.json | 2 +- public/locales/ro/translation.json | 2 +- public/locales/ru/translation.json | 2 +- public/locales/sk/translation.json | 2 +- public/locales/sv/translation.json | 2 +- public/locales/ta/translation.json | 2 +- public/locales/tr/translation.json | 2 +- public/locales/uk/translation.json | 2 +- public/locales/vi/translation.json | 2 +- public/locales/zh_Hans/translation.json | 2 +- public/locales/zh_Hant/translation.json | 2 +- src/frontend/components/UI/OfflineMessage/index.tsx | 6 +++--- 39 files changed, 41 insertions(+), 41 deletions(-) diff --git a/public/locales/az/translation.json b/public/locales/az/translation.json index f256be5d76..770cf9f675 100644 --- a/public/locales/az/translation.json +++ b/public/locales/az/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/be/translation.json b/public/locales/be/translation.json index e656e93940..2778036767 100644 --- a/public/locales/be/translation.json +++ b/public/locales/be/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/bg/translation.json b/public/locales/bg/translation.json index 5caa51b532..75d4fd35d5 100644 --- a/public/locales/bg/translation.json +++ b/public/locales/bg/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/bs/translation.json b/public/locales/bs/translation.json index b6f3f4957b..585abc4054 100644 --- a/public/locales/bs/translation.json +++ b/public/locales/bs/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/ca/translation.json b/public/locales/ca/translation.json index a6fc56138d..53958d322f 100644 --- a/public/locales/ca/translation.json +++ b/public/locales/ca/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "Es comprova la connectivitat a:{{newline}}github.com,{{newline}}gog.com i{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Es tornarà a intentar d'aquí {{seconds}} segons.", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Es torna a provar" }, "options": { diff --git a/public/locales/cs/translation.json b/public/locales/cs/translation.json index 0ce590a6f5..1515beb0bf 100644 --- a/public/locales/cs/translation.json +++ b/public/locales/cs/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "Kontrolujeme připojení s:{{newline}}github.com,{{newline}}gog.com a{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Opakování pokusu za ... {{seconds}} sekund", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Opakování pokusu" }, "options": { diff --git a/public/locales/de/translation.json b/public/locales/de/translation.json index 739bc67a60..3602d7d71e 100644 --- a/public/locales/de/translation.json +++ b/public/locales/de/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "Wir testen die Verbindung mit:{{newline}}github.com,{{newline}}gog.com und{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Neuer Versuch in ... {{seconds}} Sekunden", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Versuche erneut" }, "options": { diff --git a/public/locales/el/translation.json b/public/locales/el/translation.json index 0f45cac7f5..f71c19036b 100644 --- a/public/locales/el/translation.json +++ b/public/locales/el/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/en/translation.json b/public/locales/en/translation.json index 56dd401380..6d0de38d99 100644 --- a/public/locales/en/translation.json +++ b/public/locales/en/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/es/translation.json b/public/locales/es/translation.json index 83ff1f3c63..04d4b79b6e 100644 --- a/public/locales/es/translation.json +++ b/public/locales/es/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "Estamos comprobando la conexión con:{{newline}}github.com,{{newline}}gog.com y{{newline}}store.epicgames.com", "offline": "Sin conexión", - "retry-in": "Reintentando en ... {{seconds}} segundos", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Reintentando" }, "options": { diff --git a/public/locales/et/translation.json b/public/locales/et/translation.json index 7ceb94f247..cb9ad1f6cf 100644 --- a/public/locales/et/translation.json +++ b/public/locales/et/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/eu/translation.json b/public/locales/eu/translation.json index 1333f31be1..5ad29ed196 100644 --- a/public/locales/eu/translation.json +++ b/public/locales/eu/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/fa/translation.json b/public/locales/fa/translation.json index 6b1df0a6f4..f09e2d309b 100644 --- a/public/locales/fa/translation.json +++ b/public/locales/fa/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/fi/translation.json b/public/locales/fi/translation.json index 5352aa70b2..755185f69e 100644 --- a/public/locales/fi/translation.json +++ b/public/locales/fi/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/fr/translation.json b/public/locales/fr/translation.json index 26e908874d..411b3fca37 100644 --- a/public/locales/fr/translation.json +++ b/public/locales/fr/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Déconnecté", - "retry-in": "Nouvelle tentative dans... {{seconds}} secondes", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Réessayer" }, "options": { diff --git a/public/locales/gl/translation.json b/public/locales/gl/translation.json index cec44166e6..81aa8e2d35 100644 --- a/public/locales/gl/translation.json +++ b/public/locales/gl/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/hr/translation.json b/public/locales/hr/translation.json index b1c11a77d9..88ec8efbfa 100644 --- a/public/locales/hr/translation.json +++ b/public/locales/hr/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/hu/translation.json b/public/locales/hu/translation.json index b4eb94fc93..456d26dc04 100644 --- a/public/locales/hu/translation.json +++ b/public/locales/hu/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/id/translation.json b/public/locales/id/translation.json index f6fbbd0f87..33254a09eb 100644 --- a/public/locales/id/translation.json +++ b/public/locales/id/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/it/translation.json b/public/locales/it/translation.json index 7826b07082..e4c92c05a4 100644 --- a/public/locales/it/translation.json +++ b/public/locales/it/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/ja/translation.json b/public/locales/ja/translation.json index 417c8a7a2a..c779f0cafa 100644 --- a/public/locales/ja/translation.json +++ b/public/locales/ja/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/ko/translation.json b/public/locales/ko/translation.json index 25b2bc379a..6f037dd7b2 100644 --- a/public/locales/ko/translation.json +++ b/public/locales/ko/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/ml/translation.json b/public/locales/ml/translation.json index 415da375fa..aaa932a582 100644 --- a/public/locales/ml/translation.json +++ b/public/locales/ml/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/nb_NO/translation.json b/public/locales/nb_NO/translation.json index 7d2aa5d238..c0f22a78c9 100644 --- a/public/locales/nb_NO/translation.json +++ b/public/locales/nb_NO/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/nl/translation.json b/public/locales/nl/translation.json index 7e92341558..a5123d9dd0 100644 --- a/public/locales/nl/translation.json +++ b/public/locales/nl/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/pl/translation.json b/public/locales/pl/translation.json index 60e0700023..f025b7ce67 100644 --- a/public/locales/pl/translation.json +++ b/public/locales/pl/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/pt/translation.json b/public/locales/pt/translation.json index d1ed244ae3..8aeb46ecf4 100644 --- a/public/locales/pt/translation.json +++ b/public/locales/pt/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/pt_BR/translation.json b/public/locales/pt_BR/translation.json index 22cca26102..e98e7a36f1 100644 --- a/public/locales/pt_BR/translation.json +++ b/public/locales/pt_BR/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/ro/translation.json b/public/locales/ro/translation.json index 98f0399872..5d9fe2c3ac 100644 --- a/public/locales/ro/translation.json +++ b/public/locales/ro/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/ru/translation.json b/public/locales/ru/translation.json index 8c23ef3240..dc1280cc45 100644 --- a/public/locales/ru/translation.json +++ b/public/locales/ru/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "Мы проверяем подключение к: {{newline}}github.com, {{newline}}gog.com и {{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Повтор через ... {{seconds}} секунд", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Повтор" }, "options": { diff --git a/public/locales/sk/translation.json b/public/locales/sk/translation.json index ae05e5baf7..5393b954e8 100644 --- a/public/locales/sk/translation.json +++ b/public/locales/sk/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/sv/translation.json b/public/locales/sv/translation.json index d2c5e7d160..a1f3235828 100644 --- a/public/locales/sv/translation.json +++ b/public/locales/sv/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/ta/translation.json b/public/locales/ta/translation.json index 9af0e9f92f..6adfb2aa3c 100644 --- a/public/locales/ta/translation.json +++ b/public/locales/ta/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/tr/translation.json b/public/locales/tr/translation.json index 67a98a9f96..e9ebef478b 100644 --- a/public/locales/tr/translation.json +++ b/public/locales/tr/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/uk/translation.json b/public/locales/uk/translation.json index 9e31fcd174..19c692d545 100644 --- a/public/locales/uk/translation.json +++ b/public/locales/uk/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/vi/translation.json b/public/locales/vi/translation.json index fed5a40180..92b99bc6a6 100644 --- a/public/locales/vi/translation.json +++ b/public/locales/vi/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/public/locales/zh_Hans/translation.json b/public/locales/zh_Hans/translation.json index 68a0d93a77..4a99d6d052 100644 --- a/public/locales/zh_Hans/translation.json +++ b/public/locales/zh_Hans/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "我们正检查到下列域名的连接:{{newline}}github.com、{{newline}}gog.com 和{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "{{seconds}} 秒内重试…", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "重试" }, "options": { diff --git a/public/locales/zh_Hant/translation.json b/public/locales/zh_Hant/translation.json index 65c6e01c31..711f802cf7 100644 --- a/public/locales/zh_Hant/translation.json +++ b/public/locales/zh_Hant/translation.json @@ -353,7 +353,7 @@ "offline-message": { "hint": "We are checking the connectivity against:{{newline}}github.com,{{newline}}gog.com and{{newline}}store.epicgames.com", "offline": "Offline", - "retry-in": "Retrying in ... {{seconds}} seconds", + "offline-retry-in": "Offline. Retrying in {{seconds}} seconds.", "retrying": "Retrying" }, "options": { diff --git a/src/frontend/components/UI/OfflineMessage/index.tsx b/src/frontend/components/UI/OfflineMessage/index.tsx index 623149bd64..19fc1e10cc 100644 --- a/src/frontend/components/UI/OfflineMessage/index.tsx +++ b/src/frontend/components/UI/OfflineMessage/index.tsx @@ -17,12 +17,12 @@ const OfflineMessage = () => { if (connectivity.status === 'check-online') { if (connectivity.retryIn) { - content += t('offline-message.retry-in', { - defaultValue: '. Retrying in {{seconds}} seconds.', + content = t('offline-message.offline-retry-in', { + defaultValue: 'Offline. Retrying in {{seconds}} seconds.', seconds: connectivity.retryIn }) } else { - content = t('offline-message.retrying', 'Retrying') + content = t('offline-message.retrying', 'Retrying...') } }