From 4b0d342e8bad97dc59e550976c38373c8eaf6b01 Mon Sep 17 00:00:00 2001 From: Yokayo Date: Mon, 7 Oct 2024 00:04:49 +0700 Subject: [PATCH] Update translation-related stuff a little --- public/locales/ru-ru.json | 8 +++++++- public/script.js | 2 +- public/scripts/templates/welcome.html | 8 ++++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/public/locales/ru-ru.json b/public/locales/ru-ru.json index 9c58e090c..cd8068a98 100644 --- a/public/locales/ru-ru.json +++ b/public/locales/ru-ru.json @@ -1953,5 +1953,11 @@ "Delete the template": "Удалить шаблон", "Rename current prompt": "Переименовать промпт", "Select your current Context Template": "Выберите активный шаблон контекста", - "Select your current Instruct Template": "Выберите активный шаблон Instruct-режима" + "Select your current Instruct Template": "Выберите активный шаблон Instruct-режима", + "and connect to an": "и подключитесь к", + "You can add more": "Можете добавить больше", + "from other websites": "с других сайтов.", + "Go to the": "Загляните в", + "to install additional features.": ", чтобы установить разные дополнительные ресурсы.", + "or_welcome": "; также доступен" } diff --git a/public/script.js b/public/script.js index 6077b0b7c..0f20c4bcd 100644 --- a/public/script.js +++ b/public/script.js @@ -6694,7 +6694,7 @@ export async function saveSettings(type) { eventSource.emit(event_types.SETTINGS_UPDATED); }, error: function (jqXHR, exception) { - toastr.error(t`Check the server connection and reload the page to prevent data loss.t`, t`Settings could not be saved`); + toastr.error(t`Check the server connection and reload the page to prevent data loss.`, t`Settings could not be saved`); console.log(exception); console.log(jqXHR); }, diff --git a/public/scripts/templates/welcome.html b/public/scripts/templates/welcome.html index 202609012..931875ce5 100644 --- a/public/scripts/templates/welcome.html +++ b/public/scripts/templates/welcome.html @@ -10,7 +10,7 @@ Click and connect to an @@ -21,7 +21,7 @@ Click and pick a character. @@ -33,7 +33,7 @@ Sample characters - or + or to install additional features.