From 69fecaf206802f7dd4b758b015c91ab2efb34d4e Mon Sep 17 00:00:00 2001 From: hywax Date: Mon, 1 Jan 2024 19:35:39 +0500 Subject: [PATCH] chore: translations for the update block --- components/Update.vue | 4 ++-- locales/en-US.json | 7 ++++++- locales/ru-RU.json | 7 ++++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/components/Update.vue b/components/Update.vue index d2fd07a..6500930 100644 --- a/components/Update.vue +++ b/components/Update.vue @@ -3,8 +3,8 @@
- A new version is available {{ data.version }}
- Visit on github → + {{ $t('update.message') }} {{ data.version }}
+ {{ $t('update.visit') }}
diff --git a/locales/en-US.json b/locales/en-US.json index 20c6120..0534d68 100644 --- a/locales/en-US.json +++ b/locales/en-US.json @@ -5,5 +5,10 @@ "service.ping.description": "Server responded in", "service.ping.units": "ms", - "service.ping.error": "Server not responding" + "service.ping.error": "Server not responding", + + "update": { + "message": "A new version is available", + "visit": "Visit on github →" + } } diff --git a/locales/ru-RU.json b/locales/ru-RU.json index 891e1fe..58fd940 100644 --- a/locales/ru-RU.json +++ b/locales/ru-RU.json @@ -5,5 +5,10 @@ "service.ping.description": "Время ответа сервера", "service.ping.units": "мс", - "service.ping.error": "Сервер не отвечает" + "service.ping.error": "Сервер не отвечает", + + "update": { + "message": "Доступна новая версия", + "visit": "Перейти в github →" + } }