- Adjusting these settings will apply changes universally to all users.
+ {$i18n.t('Adjusting these settings will apply changes universally to all users.')}
{/if}
@@ -329,7 +329,7 @@
class=" px-4 py-2 bg-emerald-600 hover:bg-emerald-700 text-gray-100 transition rounded"
type="submit"
>
- Save
+ {$i18n.t('Save')}
diff --git a/src/lib/components/chat/Settings/Models.svelte b/src/lib/components/chat/Settings/Models.svelte
index b467ef5ba..0db3dc7ab 100644
--- a/src/lib/components/chat/Settings/Models.svelte
+++ b/src/lib/components/chat/Settings/Models.svelte
@@ -84,10 +84,12 @@
if (!data.success) {
toast.error(data.error);
} else {
- toast.success($i18n.t(`Model '{{modelName}}' has been successfully downloaded.`, {modelName}));
+ toast.success(
+ $i18n.t(`Model '{{modelName}}' has been successfully downloaded.`, { modelName })
+ );
const notification = new Notification($WEBUI_NAME, {
- body: $i18n.t(`Model '{{modelName}}' has been successfully downloaded.`, {modelName}),
+ body: $i18n.t(`Model '{{modelName}}' has been successfully downloaded.`, { modelName }),
icon: `${WEBUI_BASE_URL}/static/favicon.png`
});
@@ -249,7 +251,7 @@
});
if (res) {
- toast.success($i18n.t(`Deleted {{deleteModelTag}}`, {deleteModelTag}));
+ toast.success($i18n.t(`Deleted {{deleteModelTag}}`, { deleteModelTag }));
}
deleteModelTag = '';
@@ -376,7 +378,7 @@
{#if ollamaVersion}
-
Manage Ollama Models
+
{$i18n.t('Manage Ollama Models')}
{$i18n.t('Pull a model from Ollama.com')}
@@ -439,7 +441,8 @@
- To access the available model names for downloading, {$i18n.t('click here.')} {
showExperimentalOllama = !showExperimentalOllama;
- }}>{showExperimentalOllama ? 'Show' : 'Hide'}{showExperimentalOllama ? $i18n.t('Show') : $i18n.t('Hide')}
{$i18n.t('Chat History is off for this browser.')}
- When history is turned off, new chats on this browser won't appear in your history on
- any of your devices. This setting does not sync across browsers or devices.{$i18n.t('This setting does not sync across browsers or devices.')}
@@ -269,7 +271,7 @@
/>
-
Enable Chat History
+
{$i18n.t('Enable Chat History')}
@@ -295,7 +297,7 @@
{
enrichChatsWithContent($chats);
diff --git a/src/lib/i18n/locales/de/common.json b/src/lib/i18n/locales/de/common.json
index 282f64770..9bd5824c1 100644
--- a/src/lib/i18n/locales/de/common.json
+++ b/src/lib/i18n/locales/de/common.json
@@ -188,7 +188,7 @@
"Save & Update": "Speichern und aktualisieren",
"Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Das direkte Speichern von Chat-Protokollen im Browser-Speicher wird nicht mehr unterstützt. Bitte nehmen Sie sich einen Moment Zeit, um Ihre Chat-Protokolle herunterzuladen und zu löschen, indem Sie auf die Schaltfläche unten klicken. Keine Sorge, Sie können Ihre Chat-Protokolle problemlos über das Backend wieder importieren.",
"Scan complete!": "Scan abgeschlossen!",
- "Scan for documents from {{path}}'": "Dokumente von {{path}} scannen'",
+ "Scan for documents from {{path}}": "Dokumente von {{path}} scannen",
"Scan": "Scannen",
"Seed": "Seed",
"See readme.md for instructions": "Anleitung in readme.md anzeigen",
@@ -244,7 +244,7 @@
"{{webui_name}} Backend Required": "{{webui_name}}-Backend erforderlich",
"WebUI Settings": "WebUI-Einstellungen",
"Web": "Web",
- "Whisper (Local)": "Flüstern (Lokal)",
+ "Whisper (Local)": "Whisper (Lokal)",
"You're now logged in.": "Sie sind jetzt angemeldet.",
"Hide": "Verbergen",
"Show": "Anzeigen",
@@ -252,5 +252,38 @@
"Enter OpenAI API Key": "OpenAI-API-Key eingeben",
"Current Model": "Aktuelles Modell",
"Display the username instead of You in the Chat": "Den Benutzernamen anstelle von 'Sie' im Chat anzeigen",
- "Default titleGenerationPromt": "Erstelle einen prägnanten Satz mit 3-5 Wörtern als Überschrift für die folgende Abfrage. Halte dich dabei strikt an die 3-5-Wort-Grenze und vermeide die Verwendung des Wortes Titel:"
+ "Default titleGenerationPromt": "Erstelle einen prägnanten Satz mit 3-5 Wörtern als Überschrift für die folgende Abfrage. Halte dich dabei strikt an die 3-5-Wort-Grenze und vermeide die Verwendung des Wortes Titel:",
+ "Search": "Suchen",
+ "Search Documents": "Dokumente suchen",
+ "Use '#' in the prompt input to load and select your documents.": "Verwenden Sie '#' in der Prompt-Eingabe, um Ihre Dokumente zu laden und auszuwählen.",
+ "All Users": "Alle Benutzer",
+ "Click on the user role button to change a user's role.": "Klicken Sie auf die Benutzerrollenschaltfläche, um die Rolle eines Benutzers zu ändern.",
+ "Manage Ollama Models": "Ollama-Modelle verwalten",
+ "Advanced": "Angepasst",
+ "Click here for help": "Klicken Sie hier für Hilfe",
+ "Not sure what to add?": "Nicht sicher, was hinzugefügt werden soll?",
+ "Adjusting these settings will apply changes universally to all users.": "Das Anpassen dieser Einstellungen wirkt sich universell auf alle Benutzer aus.",
+ "Trouble accessing Ollama?": "Probleme beim Zugriff auf Ollama?",
+ "(e.g. `sh webui.sh --api`)": "(z.B. `sh webui.sh --api`)",
+ "Include `--api` flag when running stable-diffusion-webui": "Fügen Sie das `--api`-Flag hinzu, wenn Sie stable-diffusion-webui ausführen",
+ "This setting does not sync across browsers or devices.": "Diese Einstellung wird nicht zwischen Browsern oder Geräten synchronisiert.",
+ "When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "Wenn die Historie ausgeschaltet ist, werden neue Chats auf diesem Browser nicht in Ihrer Historie auf einem Ihrer Geräte angezeigt.",
+ "Enable Chat History": "Chat-Verlauf aktivieren",
+ "Search Prompts": "Prompts suchen",
+ "available!": "verfügbar!",
+ "Created by": "Erstellt von",
+ "Check for updates": "Nach Updates suchen",
+ "See what's new": "Was gibt's Neues",
+ "Checking for updates...": "Nach Updates suchen...",
+ "What’s New in": "Was gibt's Neues in",
+ "Enter Your Email": "Geben Sie Ihre E-Mail-Adresse ein",
+ "Enter Your Password": "Geben Sie Ihr Passwort ein",
+ "Enter Your Full Name": "Geben Sie Ihren vollständigen Namen ein",
+ "Sign in": "Anmelden",
+ "Sign up": "Registrieren",
+ "Create Account": "Konto erstellen",
+ "Don't have an account?": "Sie haben noch kein Konto?",
+ "Already have an account?": "Sie haben bereits ein Konto?",
+ "to": "für",
+ "does not make any external connections, and your data stays securely on your locally hosted server.": "stellt keine externen Verbindungen her, und Ihre Daten bleiben sicher auf Ihrem lokal gehosteten Server."
}
diff --git a/src/lib/i18n/locales/en/common.json b/src/lib/i18n/locales/en/common.json
index 5e15aacf1..830eb4cea 100644
--- a/src/lib/i18n/locales/en/common.json
+++ b/src/lib/i18n/locales/en/common.json
@@ -188,7 +188,7 @@
"Save & Update": "Save & Update",
"Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through",
"Scan complete!": "Scan complete!",
- "Scan for documents from {{path}}'": "Scan for documents from {{path}}'",
+ "Scan for documents from {{path}}": "Scan for documents from {{path}}",
"Scan": "Scan",
"Seed": "Seed",
"See readme.md for instructions": "See readme.md for instructions",
@@ -252,5 +252,38 @@
"Enter OpenAI API Key": "Enter OpenAI API Key",
"Current Model": "Current Model",
"Display the username instead of You in the Chat": "Display the username instead of 'You' in the Chat",
- "Default titleGenerationPromt": "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':"
+ "Default titleGenerationPromt": "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':",
+ "Search": "Search",
+ "Search Documents": "Search Documents",
+ "Use '#' in the prompt input to load and select your documents.": "Use '#' in the prompt input to load and select your documents.",
+ "All Users": "All Users",
+ "Click on the user role button to change a user's role.": "Click on the user role button to change a user's role.",
+ "Manage Ollama Models": "Manage Ollama Models",
+ "Advanced": "Advanced",
+ "Click here for help": "Click here for help",
+ "Not sure what to add?": "Not sure what to add?",
+ "Adjusting these settings will apply changes universally to all users.": "Adjusting these settings will apply changes universally to all users.",
+ "Trouble accessing Ollama?": "Trouble accessing Ollama?",
+ "(e.g. `sh webui.sh --api`)": "(e.g. `sh webui.sh --api`)",
+ "Include `--api` flag when running stable-diffusion-webui": "Include `--api` flag when running stable-diffusion-webui",
+ "This setting does not sync across browsers or devices.": "This setting does not sync across browsers or devices.",
+ "When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "When history is turned off, new chats on this browser won't appear in your history on any of your devices.",
+ "Enable Chat History": "Enable Chat History",
+ "Search Prompts": "Search Prompts",
+ "available!": "available!",
+ "Created by": "Created by",
+ "Check for updates": "Check for updates",
+ "See what's new": "See what's new",
+ "Checking for updates...": "Checking for updates...",
+ "What’s New in": "hat’s New in",
+ "Enter Your Email": "Enter Your Email",
+ "Enter Your Password": "Enter Your Password",
+ "Enter Your Full Name": "Enter Your Full Name",
+ "Sign in": "Sign in",
+ "Sign up": "Sign up",
+ "Create Account": "Create Account",
+ "Don't have an account?": "Don't have an account?",
+ "Already have an account?": "Already have an account?",
+ "to": "to",
+ "does not make any external connections, and your data stays securely on your locally hosted server.": "does not make any external connections, and your data stays securely on your locally hosted server."
}
diff --git a/src/lib/i18n/locales/fa/common.json b/src/lib/i18n/locales/fa/common.json
index 2f46bf280..5cc9ef080 100644
--- a/src/lib/i18n/locales/fa/common.json
+++ b/src/lib/i18n/locales/fa/common.json
@@ -188,7 +188,7 @@
"Save & Update": "ذخیره و بهروزرسانی",
"Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through": "Saving chat logs directly to your browser's storage is no longer supported. Please take a moment to download and delete your chat logs by clicking the button below. Don't worry, you can easily re-import your chat logs to the backend through",
"Scan complete!": "اسکن کامل شد!",
- "Scan for documents from {{path}}'": "Scan for documents from {{path}}'",
+ "Scan for documents from {{path}}": "Scan for documents from {{path}}",
"Scan": "اسکن",
"Seed": "Seed",
"See readme.md for instructions": "See readme.md for instructions",
@@ -252,5 +252,38 @@
"Enter OpenAI API Key": "Enter OpenAI API Key",
"Current Model": "Current Model",
"Display the username instead of You in the Chat": "Display the username instead of 'You' in the Chat",
- "Default titleGenerationPromt": "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':"
+ "Default titleGenerationPromt": "Create a concise, 3-5 word phrase as a header for the following query, strictly adhering to the 3-5 word limit and avoiding the use of the word 'title':",
+ "Search": "Search",
+ "Search Documents": "Search Documents",
+ "Use '#' in the prompt input to load and select your documents.": "Use '#' in the prompt input to load and select your documents.",
+ "All Users": "All Users",
+ "Click on the user role button to change a user's role.": "Click on the user role button to change a user's role.",
+ "Manage Ollama Models": "Manage Ollama Models",
+ "Advanced": "Advanced",
+ "Click here for help": "Click here for help",
+ "Not sure what to add?": "Not sure what to add?",
+ "Adjusting these settings will apply changes universally to all users.": "Adjusting these settings will apply changes universally to all users.",
+ "Trouble accessing Ollama?": "Trouble accessing Ollama?",
+ "(e.g. `sh webui.sh --api`)": "(e.g. `sh webui.sh --api`)",
+ "Include `--api` flag when running stable-diffusion-webui": "Include `--api` flag when running stable-diffusion-webui",
+ "This setting does not sync across browsers or devices.": "This setting does not sync across browsers or devices.",
+ "When history is turned off, new chats on this browser won't appear in your history on any of your devices.": "When history is turned off, new chats on this browser won't appear in your history on any of your devices.",
+ "Enable Chat History": "Enable Chat History",
+ "Search Prompts": "Search Prompts",
+ "available!": "available!",
+ "Created by": "Created by",
+ "Check for updates": "Check for updates",
+ "See what's new": "See what's new",
+ "Checking for updates...": "Checking for updates...",
+ "What’s New in": "hat’s New in",
+ "Enter Your Email": "Enter Your Email",
+ "Enter Your Password": "Enter Your Password",
+ "Enter Your Full Name": "Enter Your Full Name",
+ "Sign in": "Sign in",
+ "Sign up": "Sign up",
+ "Create Account": "Create Account",
+ "Don't have an account?": "Don't have an account?",
+ "Already have an account?": "Already have an account?",
+ "to": "to",
+ "does not make any external connections, and your data stays securely on your locally hosted server.": "does not make any external connections, and your data stays securely on your locally hosted server."
}
diff --git a/src/routes/(app)/admin/+page.svelte b/src/routes/(app)/admin/+page.svelte
index 815ecc50b..8f8441e0a 100644
--- a/src/routes/(app)/admin/+page.svelte
+++ b/src/routes/(app)/admin/+page.svelte
@@ -90,7 +90,7 @@
- All Users
+ {$i18n.t('All Users')}
{users.length}
- ⓘ Click on the user role button to change a user's role.
+ ⓘ {$i18n.t("Click on the user role button to change a user's role.")}
- ⓘ {$WEBUI_NAME} does not make any external connections, and your data stays securely on
- your locally hosted server.
+ ⓘ {$WEBUI_NAME}
+ {$i18n.t(
+ 'does not make any external connections, and your data stays securely on your locally hosted server.'
+ )}
- {mode === 'signin' ? `Don't have an account?` : `Already have an account?`}
+ {mode === 'signin'
+ ? $i18n.t("Don't have an account?")
+ : $i18n.t('Already have an account?')}