Browse Source

Add Ukrainian translation for keys + formatin

SimonOriginal 10 months ago
parent
commit
2ece4e7cbb

+ 3 - 1
src/lib/components/chat/Settings/General.svelte

@@ -32,7 +32,9 @@
 			saveSettings({ notificationEnabled: notificationEnabled });
 		} else {
 			toast.error(
-				$i18n.t('Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.')
+				$i18n.t(
++					'Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.'
++				)
 			);
 		}
 	};

+ 3 - 1
src/lib/components/chat/Settings/Interface.svelte

@@ -111,7 +111,9 @@
 			saveSettings({ responseAutoCopy: responseAutoCopy });
 		} else {
 			toast.error(
-				$i18n.t('Clipboard write permission denied. Please check your browser settings to grant the necessary access.')
+				$i18n.t(
++					'Clipboard write permission denied. Please check your browser settings to grant the necessary access.'
++				)
 			);
 		}
 	};

+ 5 - 5
src/lib/i18n/locales/uk-UA/translation.json

@@ -107,10 +107,10 @@
 	"Click here to select documents.": "Натисніть тут, щоб обрати документи.",
 	"click here.": "клацніть тут.",
 	"Click on the user role button to change a user's role.": "Натисніть кнопку ролі користувача, щоб змінити роль користувача.",
-	"Clipboard write permission denied. Please check your browser settings to grant the necessary access.": "",
+	"Clipboard write permission denied. Please check your browser settings to grant the necessary access.": "Відмовлено в дозволі на запис до буфера обміну. Будь ласка, перевірте налаштування вашого браузера, щоб надати необхідний доступ.",
 	"Clone": "Клонувати",
 	"Close": "Закрити",
-	"Code formatted successfully": "",
+	"Code formatted successfully": "Код успішно відформатовано",
 	"Collection": "Колекція",
 	"ComfyUI": "ComfyUI",
 	"ComfyUI Base URL": "URL-адреса ComfyUI",
@@ -446,7 +446,7 @@
 	"Reset Upload Directory": "Скинути каталог завантажень",
 	"Reset Vector Storage": "Скинути векторне сховище",
 	"Response AutoCopy to Clipboard": "Автокопіювання відповіді в буфер обміну",
-	"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "",
+	"Response notifications cannot be activated as the website permissions have been denied. Please visit your browser settings to grant the necessary access.": "Сповіщення про відповіді не можуть бути активовані, оскільки вам було відмовлено в доступі до веб-сайту. Будь ласка, відвідайте налаштування вашого браузера, щоб надати необхідний доступ.",
 	"Role": "Роль",
 	"Rosé Pine": "Rosé Pine",
 	"Rosé Pine Dawn": "Rosé Pine Dawn",
@@ -606,13 +606,13 @@
 	"use_mlock (Ollama)": "use_mlock (Ollama)",
 	"use_mmap (Ollama)": "use_mmap (Ollama)",
 	"user": "користувач",
-	"User location successfully retrieved.": "",
+	"User location successfully retrieved.": "Місцезнаходження користувача успішно знайдено.",
 	"User Permissions": "Права користувача",
 	"Users": "Користувачі",
 	"Utilize": "Використовувати",
 	"Valid time units:": "Дійсні одиниці часу:",
 	"Valves": "Клапани",
-	"Valves updated": "",
+	"Valves updated": "Клапани оновлено",
 	"Valves updated successfully": "Клапани успішно оновлено",
 	"variable": "змінна",
 	"variable to have them replaced with clipboard content.": "змінна, щоб замінити їх вмістом буфера обміну.",