From 48e8b45dc935a48b1d668e49b8355636bfff627c Mon Sep 17 00:00:00 2001 From: Ased Mammad Date: Sat, 9 Mar 2024 03:11:45 +0330 Subject: [PATCH] fix: issue with nbsp in i18next-parser --- src/lib/i18n/locales/de/translation.json | 1 + src/lib/i18n/locales/en/translation.json | 1 + src/lib/i18n/locales/fa/translation.json | 1 + src/lib/i18n/locales/fr/translation.json | 1 + src/lib/i18n/locales/uk/translation.json | 1 + src/routes/(app)/prompts/create/+page.svelte | 3 ++- src/routes/(app)/prompts/edit/+page.svelte | 3 ++- 7 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lib/i18n/locales/de/translation.json b/src/lib/i18n/locales/de/translation.json index c58c2e242..bc5e77cfe 100644 --- a/src/lib/i18n/locales/de/translation.json +++ b/src/lib/i18n/locales/de/translation.json @@ -293,6 +293,7 @@ "to": "für", "To access the available model names for downloading,": "Um auf die verfügbaren Modellnamen zum Herunterladen zuzugreifen,", "To access the GGUF models available for downloading,": "To access the GGUF models available for downloading,", + "to chat input.": "to chat input.", "Toggle settings": "Einstellungen umschalten", "Toggle sidebar": "Seitenleiste umschalten", "Top K": "Top K", diff --git a/src/lib/i18n/locales/en/translation.json b/src/lib/i18n/locales/en/translation.json index db67b2184..20aaf37f0 100644 --- a/src/lib/i18n/locales/en/translation.json +++ b/src/lib/i18n/locales/en/translation.json @@ -293,6 +293,7 @@ "to": "to", "To access the available model names for downloading,": "To access the available model names for downloading,", "To access the GGUF models available for downloading,": "To access the GGUF models available for downloading,", + "to chat input.": "to chat input.", "Toggle settings": "Toggle settings", "Toggle sidebar": "Toggle sidebar", "Top K": "Top K", diff --git a/src/lib/i18n/locales/fa/translation.json b/src/lib/i18n/locales/fa/translation.json index 3b8884d34..70e684f80 100644 --- a/src/lib/i18n/locales/fa/translation.json +++ b/src/lib/i18n/locales/fa/translation.json @@ -293,6 +293,7 @@ "to": "به", "To access the available model names for downloading,": "برای دسترسی به نام مدل های موجود برای دانلود،", "To access the GGUF models available for downloading,": "برای دسترسی به مدل\u200cهای GGUF موجود برای دانلود،", + "to chat input.": "در ورودی گپ.", "Toggle settings": "نمایش/عدم نمایش تنظیمات", "Toggle sidebar": "نمایش/عدم نمایش نوار کناری", "Top K": "Top K", diff --git a/src/lib/i18n/locales/fr/translation.json b/src/lib/i18n/locales/fr/translation.json index 64155a4e1..a8bdf0ac5 100644 --- a/src/lib/i18n/locales/fr/translation.json +++ b/src/lib/i18n/locales/fr/translation.json @@ -293,6 +293,7 @@ "to": "à", "To access the available model names for downloading,": "Pour accéder aux noms de modèles disponibles pour le téléchargement,", "To access the GGUF models available for downloading,": "To access the GGUF models available for downloading,", + "to chat input.": "to chat input.", "Toggle settings": "Basculer les paramètres", "Toggle sidebar": "Basculer la barre latérale", "Top K": "Top K", diff --git a/src/lib/i18n/locales/uk/translation.json b/src/lib/i18n/locales/uk/translation.json index a476567a6..418d1ab16 100644 --- a/src/lib/i18n/locales/uk/translation.json +++ b/src/lib/i18n/locales/uk/translation.json @@ -293,6 +293,7 @@ "to": "до", "To access the available model names for downloading,": "Щоб отримати доступ до назв доступних для завантаження моделей,", "To access the GGUF models available for downloading,": "To access the GGUF models available for downloading,", + "to chat input.": "для вводу в чат.", "Toggle settings": "Переключити налаштування", "Toggle sidebar": "Переключити бокову панель", "Top K": "Top K", diff --git a/src/routes/(app)/prompts/create/+page.svelte b/src/routes/(app)/prompts/create/+page.svelte index 50ddbd2a1..8bec31905 100644 --- a/src/routes/(app)/prompts/create/+page.svelte +++ b/src/routes/(app)/prompts/create/+page.svelte @@ -167,7 +167,8 @@ class=" text-gray-600 dark:text-gray-300 font-medium" > /{command} - "  {$i18n.t('to chat input.')} + "   + {$i18n.t('to chat input.')} diff --git a/src/routes/(app)/prompts/edit/+page.svelte b/src/routes/(app)/prompts/edit/+page.svelte index b679d91a1..f3adefd57 100644 --- a/src/routes/(app)/prompts/edit/+page.svelte +++ b/src/routes/(app)/prompts/edit/+page.svelte @@ -150,7 +150,8 @@ class=" text-gray-600 dark:text-gray-300 font-medium" > /{command} - "  {$i18n.t('to chat input.')} + "   + {$i18n.t('to chat input.')}