From 3fa5144cf6e4c38a9dd8104f2efc0d1cde73b8fc Mon Sep 17 00:00:00 2001 From: Ased Mammad Date: Thu, 7 Mar 2024 20:39:27 +0330 Subject: [PATCH] fix: Add missing english translations --- src/lib/i18n/locales/de/translation.json | 1 - src/lib/i18n/locales/en/translation.json | 11 +++++------ 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)/admin/+page.svelte | 2 +- 6 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/lib/i18n/locales/de/translation.json b/src/lib/i18n/locales/de/translation.json index 615b32c6c..78f8ab583 100644 --- a/src/lib/i18n/locales/de/translation.json +++ b/src/lib/i18n/locales/de/translation.json @@ -269,7 +269,6 @@ "STT Settings": "STT-Einstellungen", "Submit": "Senden", "Success": "Erfolg", - "Successfully updated": "", "Successfully updated.": "Erfolgreich aktualisiert.", "Sync All": "Alles synchronisieren", "System": "System", diff --git a/src/lib/i18n/locales/en/translation.json b/src/lib/i18n/locales/en/translation.json index 4d00819e4..4c63761e3 100644 --- a/src/lib/i18n/locales/en/translation.json +++ b/src/lib/i18n/locales/en/translation.json @@ -186,7 +186,7 @@ "My Prompts": "My Prompts", "Name": "Name", "Name Tag": "Name Tag", - "Name your modelfile": "", + "Name your modelfile": "Name your modelfile", "New Chat": "New Chat", "New Password": "New Password", "Not sure what to add?": "Not sure what to add?", @@ -198,8 +198,8 @@ "Only": "Only", "Only alphanumeric characters and hyphens are allowed in the command string.": "Only alphanumeric characters and hyphens are allowed in the command string.", "Oops! Hold tight! Your files are still in the processing oven. We're cooking them up to perfection. Please be patient and we'll let you know once they're ready.": "Oops! Hold tight! Your files are still in the processing oven. We're cooking them up to perfection. Please be patient and we'll let you know once they're ready.", - "Oops! Looks like the URL is invalid. Please double-check and try again.": "", - "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "", + "Oops! Looks like the URL is invalid. Please double-check and try again.": "Oops! Looks like the URL is invalid. Please double-check and try again.", + "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.", "Open": "Open", "Open AI": "Open AI", "Open new chat": "Open new chat", @@ -269,7 +269,6 @@ "STT Settings": "STT Settings", "Submit": "Submit", "Success": "Success", - "Successfully updated": "", "Successfully updated.": "Successfully updated.", "Sync All": "Sync All", "System": "System", @@ -283,7 +282,7 @@ "Theme": "Theme", "This ensures that your valuable conversations are securely saved to your backend database. Thank you!": "This ensures that your valuable conversations are securely saved to your backend database. Thank you!", "This setting does not sync across browsers or devices.": "This setting does not sync across browsers or devices.", - "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "", + "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.": "Tip: Update multiple variable slots consecutively by pressing the tab key in the chat input after each replacement.", "Title": "Title", "Title Auto-Generation": "Title Auto-Generation", "Title Generation Prompt": "Title Generation Prompt", @@ -296,7 +295,7 @@ "Trouble accessing Ollama?": "Trouble accessing Ollama?", "TTS Settings": "TTS Settings", "Uh-oh! There was an issue connecting to {{provider}}.": "Uh-oh! There was an issue connecting to {{provider}}.", - "Unknown File Type '{{file_type}}', but accepting and treating as plain text": "", + "Unknown File Type '{{file_type}}', but accepting and treating as plain text": "Unknown File Type '{{file_type}}', but accepting and treating as plain text", "Upload files": "Upload files", "Use '#' in the prompt input to load and select your documents.": "Use '#' in the prompt input to load and select your documents.", "user": "user", diff --git a/src/lib/i18n/locales/fa/translation.json b/src/lib/i18n/locales/fa/translation.json index e017e0306..3cd6cbe3c 100644 --- a/src/lib/i18n/locales/fa/translation.json +++ b/src/lib/i18n/locales/fa/translation.json @@ -269,7 +269,6 @@ "STT Settings": "STT تنظیمات", "Submit": "ارسال", "Success": "موفقیت", - "Successfully updated": "", "Successfully updated.": "با موفقیت به روز شد", "Sync All": "همگام سازی همه", "System": "سیستم", diff --git a/src/lib/i18n/locales/fr/translation.json b/src/lib/i18n/locales/fr/translation.json index f1654e051..b015f1843 100644 --- a/src/lib/i18n/locales/fr/translation.json +++ b/src/lib/i18n/locales/fr/translation.json @@ -269,7 +269,6 @@ "STT Settings": "Paramètres STT", "Submit": "Soumettre", "Success": "Succès", - "Successfully updated": "", "Successfully updated.": "Mis à jour avec succès.", "Sync All": "Synchroniser tout", "System": "Système", diff --git a/src/lib/i18n/locales/uk/translation.json b/src/lib/i18n/locales/uk/translation.json index 997ea9386..669310cf4 100644 --- a/src/lib/i18n/locales/uk/translation.json +++ b/src/lib/i18n/locales/uk/translation.json @@ -277,7 +277,6 @@ "STT Settings": "Налаштування STT", "Submit": "Надіслати", "Success": "Успіх", - "Successfully updated": "Успішно оновлено", "Successfully updated.": "Успішно оновлено.", "Sync All": "Синхронізувати все", "System": "Система", diff --git a/src/routes/(app)/admin/+page.svelte b/src/routes/(app)/admin/+page.svelte index 85ae79152..b1f0661c2 100644 --- a/src/routes/(app)/admin/+page.svelte +++ b/src/routes/(app)/admin/+page.svelte @@ -39,7 +39,7 @@ }); if (res) { users = await getUsers(localStorage.token); - toast.success($i18n.t('Successfully updated')); + toast.success($i18n.t('Successfully updated.')); } };