浏览代码

Add more translation keys

Ased Mammad 1 年之前
父节点
当前提交
7545a717ff

+ 1 - 1
package.json

@@ -14,7 +14,7 @@
 		"lint:backend": "pylint backend/",
 		"format": "prettier --plugin-search-dir --write '**/*.{js,ts,svelte,css,md,html,json}'",
 		"format:backend": "yapf --recursive backend -p -i",
-		"i18n:parser": "i18next --config i18next-parser.config.ts && prettier --write 'src/lib/i18n/**/*.{js,json}'"
+		"i18n:parse": "i18next --config i18next-parser.config.ts && prettier --write 'src/lib/i18n/**/*.{js,json}'"
 	},
 	"devDependencies": {
 		"@sveltejs/adapter-auto": "^2.0.0",

+ 1 - 1
src/lib/components/chat/Settings/Connections.svelte

@@ -241,7 +241,7 @@
 					href="https://github.com/open-webui/open-webui#troubleshooting"
 					target="_blank"
 				>
-					{$i18n.t('Click here for help')}
+					{$i18n.t('Click here for help.')}
 				</a>
 			</div>
 		</div>

+ 13 - 13
src/lib/components/chat/Settings/Images.svelte

@@ -141,18 +141,18 @@
 			<div class=" mb-1 text-sm font-medium">{$i18n.t('Image Settings')}</div>
 
 			<div class=" py-0.5 flex w-full justify-between">
-				<div class=" self-center text-xs font-medium">Image Generation Engine</div>
+				<div class=" self-center text-xs font-medium">{$i18n.t('Image Generation Engine')}</div>
 				<div class="flex items-center relative">
 					<select
 						class="w-fit pr-8 rounded px-2 p-1 text-xs bg-transparent outline-none text-right"
 						bind:value={imageGenerationEngine}
-						placeholder="Select a mode"
+						placeholder={$i18n.t("Select a mode")}
 						on:change={async () => {
 							await updateImageGeneration();
 						}}
 					>
-						<option value="">Default (Automatic1111)</option>
-						<option value="openai">Open AI (Dall-E)</option>
+						<option value="">{$i18n.t('Default (Automatic1111)')}</option>
+						<option value="openai">{$i18n.t('Open AI (Dall-E)'}</option>
 					</select>
 				</div>
 			</div>
@@ -167,10 +167,10 @@
 						class="p-1 px-3 text-xs flex rounded transition"
 						on:click={() => {
 							if (imageGenerationEngine === '' && AUTOMATIC1111_BASE_URL === '') {
-								toast.error('AUTOMATIC1111 Base URL is required.');
+								toast.error($i18n.t('AUTOMATIC1111 Base URL is required.'));
 								enableImageGeneration = false;
 							} else if (imageGenerationEngine === 'openai' && OPENAI_API_KEY === '') {
-								toast.error('OpenAI API Key is required.');
+								toast.error($i18n.t('OpenAI API Key is required.'));
 								enableImageGeneration = false;
 							} else {
 								enableImageGeneration = !enableImageGeneration;
@@ -197,7 +197,7 @@
 				<div class="flex-1 mr-2">
 					<input
 						class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-						placeholder="Enter URL (e.g. http://127.0.0.1:7860/)"
+						placeholder={$i18n.t("Enter URL (e.g. http://127.0.0.1:7860/)")}
 						bind:value={AUTOMATIC1111_BASE_URL}
 					/>
 				</div>
@@ -226,22 +226,22 @@
 			</div>
 
 			<div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
-				Include `--api` flag when running stable-diffusion-webui
+				{$i18n.t('Include `--api` flag when running stable-diffusion-webui')}
 				<a
 					class=" text-gray-300 font-medium"
 					href="https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/3734"
 					target="_blank"
 				>
-					(e.g. `sh webui.sh --api`)
+					{$i18n.t('(e.g. `sh webui.sh --api`)')}
 				</a>
 			</div>
 		{:else if imageGenerationEngine === 'openai'}
-			<div class=" mb-2.5 text-sm font-medium">OpenAI API Key</div>
+			<div class=" mb-2.5 text-sm font-medium">{$i18n.t('OpenAI API Key')}</div>
 			<div class="flex w-full">
 				<div class="flex-1 mr-2">
 					<input
 						class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-						placeholder="Enter API Key"
+						placeholder={$i18n.t('Enter API Key')}
 						bind:value={OPENAI_API_KEY}
 					/>
 				</div>
@@ -277,7 +277,7 @@
 					<div class="flex-1 mr-2">
 						<input
 							class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-							placeholder="Enter Image Size (e.g. 512x512)"
+							placeholder={$i18n.t("Enter Image Size (e.g. 512x512)")}
 							bind:value={imageSize}
 						/>
 					</div>
@@ -290,7 +290,7 @@
 					<div class="flex-1 mr-2">
 						<input
 							class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-							placeholder="Enter Number of Steps (e.g. 50)"
+							placeholder={$i18n.t("Enter Number of Steps (e.g. 50)")}
 							bind:value={steps}
 						/>
 					</div>

+ 22 - 18
src/lib/components/chat/Settings/Models.svelte

@@ -409,7 +409,7 @@
 						<select
 							class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
 							bind:value={selectedOllamaUrlIdx}
-							placeholder="Select an Ollama instance"
+							placeholder={$i18n.t('Select an Ollama instance')}
 						>
 							{#each OLLAMA_URLS as url, idx}
 								<option value={idx} class="bg-gray-100 dark:bg-gray-700">{url}</option>
@@ -755,14 +755,16 @@
 					{#if showLiteLLM}
 						<div>
 							<div class="flex justify-between items-center text-xs">
-								<div class=" text-sm font-medium">Add a model</div>
+								<div class=" text-sm font-medium">{$i18n.t('Add a model')}</div>
 								<button
 									class=" text-xs font-medium text-gray-500"
 									type="button"
 									on:click={() => {
 										showLiteLLMParams = !showLiteLLMParams;
 									}}
-									>{showLiteLLMParams ? $i18n.t('Hide Additional Params') : $i18n.t('Show Additional Params')}</button
+									>{showLiteLLMParams
+										? $i18n.t('Hide Additional Params')
+										: $i18n.t('Show Additional Params')}</button
 								>
 							</div>
 						</div>
@@ -772,7 +774,7 @@
 								<div class="flex-1 mr-2">
 									<input
 										class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-										placeholder="Enter LiteLLM Model (litellm_params.model)"
+										placeholder={$i18n.t('Enter LiteLLM Model (litellm_params.model)')}
 										bind:value={liteLLMModel}
 										autocomplete="off"
 									/>
@@ -813,12 +815,14 @@
 								</div>
 
 								<div>
-									<div class=" mb-1.5 text-sm font-medium">API Base URL</div>
+									<div class=" mb-1.5 text-sm font-medium">{$i18n.t('API Base URL')}</div>
 									<div class="flex w-full">
 										<div class="flex-1">
 											<input
 												class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-												placeholder="Enter LiteLLM API Base URL (litellm_params.api_base)"
+												placeholder={$i18n.t(
+													'Enter LiteLLM API Base URL (litellm_params.api_base)'
+												)}
 												bind:value={liteLLMAPIBase}
 												autocomplete="off"
 											/>
@@ -827,12 +831,12 @@
 								</div>
 
 								<div>
-									<div class=" mb-1.5 text-sm font-medium">API Key</div>
+									<div class=" mb-1.5 text-sm font-medium">{$i18n.t('API Key')}</div>
 									<div class="flex w-full">
 										<div class="flex-1">
 											<input
 												class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-												placeholder="Enter LiteLLM API Key (litellm_params.api_key)"
+												placeholder={$i18n.t('Enter LiteLLM API Key (litellm_params.api_key)')}
 												bind:value={liteLLMAPIKey}
 												autocomplete="off"
 											/>
@@ -841,12 +845,12 @@
 								</div>
 
 								<div>
-									<div class="mb-1.5 text-sm font-medium">API RPM</div>
+									<div class="mb-1.5 text-sm font-medium">{$i18n.t('API RPM')}</div>
 									<div class="flex w-full">
 										<div class="flex-1">
 											<input
 												class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-												placeholder="Enter LiteLLM API RPM (litellm_params.rpm)"
+												placeholder={$i18n.t('Enter LiteLLM API RPM (litellm_params.rpm)')}
 												bind:value={liteLLMRPM}
 												autocomplete="off"
 											/>
@@ -855,12 +859,12 @@
 								</div>
 
 								<div>
-									<div class="mb-1.5 text-sm font-medium">Max Tokens</div>
+									<div class="mb-1.5 text-sm font-medium">{$i18n.t('Max Tokens')}</div>
 									<div class="flex w-full">
 										<div class="flex-1">
 											<input
 												class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
-												placeholder="Enter Max Tokens (litellm_params.max_tokens)"
+												placeholder={$i18n.t('Enter Max Tokens (litellm_params.max_tokens)')}
 												bind:value={liteLLMMaxTokens}
 												type="number"
 												min="1"
@@ -873,27 +877,27 @@
 						</div>
 
 						<div class="mb-2 text-xs text-gray-400 dark:text-gray-500">
-							Not sure what to add?
+							{$i18n.t('Not sure what to add?')}
 							<a
 								class=" text-gray-300 font-medium underline"
 								href="https://litellm.vercel.app/docs/proxy/configs#quick-start"
 								target="_blank"
 							>
-								Click here for help.
+								{$i18n.t('Click here for help.')}
 							</a>
 						</div>
 
 						<div>
-							<div class=" mb-2.5 text-sm font-medium">Delete a model</div>
+							<div class=" mb-2.5 text-sm font-medium">{$i18n.t('Delete a model')}</div>
 							<div class="flex w-full">
 								<div class="flex-1 mr-2">
 									<select
 										class="w-full rounded-lg py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-850 outline-none"
 										bind:value={deleteLiteLLMModelId}
-										placeholder="Select a model"
+										placeholder={$i18n.t('Select a model')}
 									>
 										{#if !deleteLiteLLMModelId}
-											<option value="" disabled selected>Select a model</option>
+											<option value="" disabled selected>{$i18n.t('Select a model')}</option>
 										{/if}
 										{#each liteLLMModelInfo as model}
 											<option value={model.model_info.id} class="bg-gray-100 dark:bg-gray-700"
@@ -928,4 +932,4 @@
 			</div>
 		</div>
 	</div>
-</div>
+</div>

+ 18 - 7
src/lib/i18n/locales/de/translation.json

@@ -2,7 +2,6 @@
 	"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' oder '-1' für kein Ablaufdatum.",
 	"(Beta)": "(Beta)",
 	"(e.g. `sh webui.sh --api`)": "(z.B. `sh webui.sh --api`)",
-	"{{item}} not provided": "{{item}} nicht angegeben",
 	"{{modelName}} is thinking...": "{{modelName}} denkt nach...",
 	"{{webUIName}} Backend Required": "{{webUIName}}-Backend erforderlich",
 	"About": "Über",
@@ -14,14 +13,12 @@
 	"Add a short title for this prompt": "Füge einen kurzen Titel für diesen Prompt hinzu",
 	"Add Docs": "Dokumente hinzufügen",
 	"Add Files": "Dateien hinzufügen",
-	"Add LiteLLM Model": "LiteLLM Modell hinzufügen",
 	"Add message": "Nachricht eingeben",
 	"add tags": "Tags hinzufügen",
 	"Adjusting these settings will apply changes universally to all users.": "Das Anpassen dieser Einstellungen wirkt sich universell auf alle Benutzer aus.",
 	"admin": "Administrator",
 	"Admin Panel": "Admin Panel",
 	"Admin Settings": "Admin Einstellungen",
-	"Advanced Model Params": "Erweiterte Modell Parameter",
 	"Advanced Parameters": "Erweiterte Parameter",
 	"all": "Alle",
 	"All Users": "Alle Benutzer",
@@ -39,6 +36,7 @@
 	"Auto-playback response": "Automatische Wiedergabe der Antwort",
 	"Auto-send input after 3 sec.": "Automatisches Senden der Eingabe nach 3 Sek",
 	"AUTOMATIC1111 Base URL": "AUTOMATIC1111 Basis URL",
+	"AUTOMATIC1111 Base URL is required.": "",
 	"available!": "verfügbar!",
 	"Back": "Zurück",
 	"Builder Mode": "Builder Modus",
@@ -56,7 +54,7 @@
 	"Chunk Overlap": "Chunk Overlap",
 	"Chunk Params": "Chunk Parameter",
 	"Chunk Size": "Chunk Size",
-	"Click here for help": "Klicke hier für Hilfe",
+	"Click here for help.": "Klicke hier für Hilfe.",
 	"Click here to check other modelfiles.": "Klicke hier, um andere Modelfiles zu überprüfen.",
 	"Click here to select": "",
 	"Click here to select documents.": "",
@@ -86,6 +84,7 @@
 	"Database": "Datenbank",
 	"DD/MM/YYYY HH:mm": "DD.MM.YYYY HH:mm",
 	"Default": "Standard",
+	"Default (Automatic1111)": "",
 	"Default (Web API)": "Standard (Web-API)",
 	"Default model updated": "Standardmodell aktualisiert",
 	"Default Prompt Suggestions": "Standard-Prompt-Vorschläge",
@@ -120,11 +119,20 @@
 	"Enable Chat History": "Chat-Verlauf aktivieren",
 	"Enable New Sign Ups": "Neue Anmeldungen aktivieren",
 	"Enabled": "Aktiviert",
+	"Enter API Key": "",
 	"Enter Chunk Overlap": "",
 	"Enter Chunk Size": "",
+	"Enter Image Size (e.g. 512x512)": "",
+	"Enter LiteLLM API Base URL (litellm_params.api_base)": "",
+	"Enter LiteLLM API Key (litellm_params.api_key)": "",
+	"Enter LiteLLM API RPM (litellm_params.rpm)": "",
+	"Enter LiteLLM Model (litellm_params.model)": "",
+	"Enter Max Tokens (litellm_params.max_tokens)": "",
 	"Enter model tag (e.g. {{modelTag}})": "",
+	"Enter Number of Steps (e.g. 50)": "",
 	"Enter stop sequence": "Stop-Sequenz eingeben",
 	"Enter Top K": "",
+	"Enter URL (e.g. http://127.0.0.1:7860/)": "",
 	"Enter Your Email": "Geben Deine E-Mail-Adresse ein",
 	"Enter Your Full Name": "Gebe Deinen vollständigen Namen ein",
 	"Enter Your Password": "Gebe Dein Passwort ein",
@@ -148,6 +156,7 @@
 	"Hide Additional Params": "Hide Additional Params",
 	"How can I help you today?": "Wie kann ich Dir heute helfen?",
 	"Image Generation (Experimental)": "Bildgenerierung (experimentell)",
+	"Image Generation Engine": "",
 	"Image Settings": "Bildeinstellungen",
 	"Images": "Bilder",
 	"Import Chats": "Chats importieren",
@@ -165,9 +174,6 @@
 	"Language": "Sprache",
 	"Light": "Hell",
 	"Listening...": "Hören...",
-	"LiteLLM API Base URL": "LiteLLM-API-Basis-URL",
-	"LiteLLM API Key": "LiteLLM-API-Schlüssel",
-	"LiteLLM API RPM": "LiteLLM-API-RPM",
 	"LLMs can make mistakes. Verify important information.": "LLMs können Fehler machen. Überprüfe wichtige Informationen.",
 	"Made by OpenWebUI Community": "Von der OpenWebUI-Community",
 	"Make sure to enclose them with": "Formatiere Deine Variablen mit:",
@@ -213,8 +219,11 @@
 	"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": "Öffne",
 	"Open AI": "Open AI",
+	"Open AI (Dall-E)": "",
 	"Open new chat": "Neuen Chat öffnen",
 	"OpenAI API": "OpenAI-API",
+	"OpenAI API Key": "",
+	"OpenAI API Key is required.": "",
 	"or": "oder",
 	"Parameters": "Parameter",
 	"Password": "Passwort",
@@ -255,7 +264,9 @@
 	"See readme.md for instructions": "Anleitung in readme.md anzeigen",
 	"See what's new": "Was gibt's Neues",
 	"Seed": "Seed",
+	"Select a mode": "",
 	"Select a model": "Ein Modell auswählen",
+	"Select an Ollama instance": "",
 	"Send a Messsage": "Eine Nachricht senden",
 	"Send message": "Nachricht senden",
 	"Server connection verified": "Serververbindung überprüft",

+ 18 - 7
src/lib/i18n/locales/en/translation.json

@@ -2,7 +2,6 @@
 	"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.",
 	"(Beta)": "(Beta)",
 	"(e.g. `sh webui.sh --api`)": "(e.g. `sh webui.sh --api`)",
-	"{{item}} not provided": "{{item}} not provided",
 	"{{modelName}} is thinking...": "{{modelName}} is thinking...",
 	"{{webUIName}} Backend Required": "{{webUIName}} Backend Required",
 	"About": "About",
@@ -14,14 +13,12 @@
 	"Add a short title for this prompt": "Add a short title for this prompt",
 	"Add Docs": "Add Docs",
 	"Add Files": "Add Files",
-	"Add LiteLLM Model": "Add LiteLLM Model",
 	"Add message": "Add message",
 	"add tags": "add tags",
 	"Adjusting these settings will apply changes universally to all users.": "Adjusting these settings will apply changes universally to all users.",
 	"admin": "admin",
 	"Admin Panel": "Admin Panel",
 	"Admin Settings": "Admin Settings",
-	"Advanced Model Params": "Advanced Model Params",
 	"Advanced Parameters": "Advanced Parameters",
 	"all": "all",
 	"All Users": "All Users",
@@ -39,6 +36,7 @@
 	"Auto-playback response": "Auto-playback response",
 	"Auto-send input after 3 sec.": "Auto-send input after 3 sec.",
 	"AUTOMATIC1111 Base URL": "AUTOMATIC1111 Base URL",
+	"AUTOMATIC1111 Base URL is required.": "",
 	"available!": "available!",
 	"Back": "Back",
 	"Builder Mode": "Builder Mode",
@@ -56,7 +54,7 @@
 	"Chunk Overlap": "Chunk Overlap",
 	"Chunk Params": "Chunk Params",
 	"Chunk Size": "Chunk Size",
-	"Click here for help": "Click here for help",
+	"Click here for help.": "Click here for help.",
 	"Click here to check other modelfiles.": "Click here to check other modelfiles.",
 	"Click here to select": "",
 	"Click here to select documents.": "",
@@ -86,6 +84,7 @@
 	"Database": "Database",
 	"DD/MM/YYYY HH:mm": "DD/MM/YYYY HH:mm",
 	"Default": "Default",
+	"Default (Automatic1111)": "",
 	"Default (Web API)": "Default (Web API)",
 	"Default model updated": "Default model updated",
 	"Default Prompt Suggestions": "Default Prompt Suggestions",
@@ -120,11 +119,20 @@
 	"Enable Chat History": "Enable Chat History",
 	"Enable New Sign Ups": "Enable New Sign Ups",
 	"Enabled": "Enabled",
+	"Enter API Key": "",
 	"Enter Chunk Overlap": "",
 	"Enter Chunk Size": "",
+	"Enter Image Size (e.g. 512x512)": "",
+	"Enter LiteLLM API Base URL (litellm_params.api_base)": "",
+	"Enter LiteLLM API Key (litellm_params.api_key)": "",
+	"Enter LiteLLM API RPM (litellm_params.rpm)": "",
+	"Enter LiteLLM Model (litellm_params.model)": "",
+	"Enter Max Tokens (litellm_params.max_tokens)": "",
 	"Enter model tag (e.g. {{modelTag}})": "",
+	"Enter Number of Steps (e.g. 50)": "",
 	"Enter stop sequence": "Enter stop sequence",
 	"Enter Top K": "",
+	"Enter URL (e.g. http://127.0.0.1:7860/)": "",
 	"Enter Your Email": "Enter Your Email",
 	"Enter Your Full Name": "Enter Your Full Name",
 	"Enter Your Password": "Enter Your Password",
@@ -148,6 +156,7 @@
 	"Hide Additional Params": "Hide Additional Params",
 	"How can I help you today?": "How can I help you today?",
 	"Image Generation (Experimental)": "Image Generation (Experimental)",
+	"Image Generation Engine": "",
 	"Image Settings": "Image Settings",
 	"Images": "Images",
 	"Import Chats": "Import Chats",
@@ -165,9 +174,6 @@
 	"Language": "Language",
 	"Light": "Light",
 	"Listening...": "Listening...",
-	"LiteLLM API Base URL": "LiteLLM API Base URL",
-	"LiteLLM API Key": "LiteLLM API Key",
-	"LiteLLM API RPM": "LiteLLM API RPM",
 	"LLMs can make mistakes. Verify important information.": "LLMs can make mistakes. Verify important information.",
 	"Made by OpenWebUI Community": "Made by OpenWebUI Community",
 	"Make sure to enclose them with": "Make sure to enclose them with",
@@ -213,8 +219,11 @@
 	"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 AI (Dall-E)": "",
 	"Open new chat": "Open new chat",
 	"OpenAI API": "OpenAI API",
+	"OpenAI API Key": "",
+	"OpenAI API Key is required.": "",
 	"or": "or",
 	"Parameters": "Parameters",
 	"Password": "Password",
@@ -255,7 +264,9 @@
 	"See readme.md for instructions": "See readme.md for instructions",
 	"See what's new": "See what's new",
 	"Seed": "Seed",
+	"Select a mode": "",
 	"Select a model": "Select a model",
+	"Select an Ollama instance": "",
 	"Send a Messsage": "Send a Messsage",
 	"Send message": "Send message",
 	"Server connection verified": "Server connection verified",

+ 18 - 7
src/lib/i18n/locales/fa/translation.json

@@ -2,7 +2,6 @@
 	"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' یا '-1' برای غیر فعال کردن انقضا.",
 	"(Beta)": "(بتا)",
 	"(e.g. `sh webui.sh --api`)": "(e.g. `sh webui.sh --api`)",
-	"{{item}} not provided": "{{item}} ارائه نشده است",
 	"{{modelName}} is thinking...": "{{modelName}} در حال فکر کردن است...",
 	"{{webUIName}} Backend Required": "بکند {{webUIName}} نیاز است.",
 	"About": "درباره",
@@ -14,14 +13,12 @@
 	"Add a short title for this prompt": "یک عنوان کوتاه برای این درخواست اضافه کنید",
 	"Add Docs": "اضافه کردن اسناد",
 	"Add Files": "اضافه کردن فایل\u200cها",
-	"Add LiteLLM Model": "اضافه کردن مدل LiteLLM",
 	"Add message": "اضافه کردن پیغام",
 	"add tags": "اضافه کردن تگ\u200cها",
 	"Adjusting these settings will apply changes universally to all users.": "با تنظیم این تنظیمات، تغییرات به طور کلی برای همه کاربران اعمال می شود.",
 	"admin": "مدیر",
 	"Admin Panel": "پنل مدیریت",
 	"Admin Settings": "تنظیمات مدیریت",
-	"Advanced Model Params": "پارامترهای پیشرفته مدل",
 	"Advanced Parameters": "پارامترهای پیشرفته",
 	"all": "همه",
 	"All Users": "همه کاربران",
@@ -39,6 +36,7 @@
 	"Auto-playback response": "پخش خودکار پاسخ ",
 	"Auto-send input after 3 sec.": "به طور خودکار ورودی را پس از 3 ثانیه ارسال کن.",
 	"AUTOMATIC1111 Base URL": "پایه URL AUTOMATIC1111 ",
+	"AUTOMATIC1111 Base URL is required.": "",
 	"available!": "در دسترس!",
 	"Back": "بازگشت",
 	"Builder Mode": "حالت سازنده",
@@ -56,7 +54,7 @@
 	"Chunk Overlap": "همپوشانی تکه",
 	"Chunk Params": "پارامترهای تکه",
 	"Chunk Size": "اندازه تکه",
-	"Click here for help": "برای کمک اینجا را کلیک کنید",
+	"Click here for help.": "برای کمک اینجا را کلیک کنید.",
 	"Click here to check other modelfiles.": "برای بررسی سایر فایل\u200cهای مدل اینجا را کلیک کنید.",
 	"Click here to select": "برای انتخاب اینجا کلیک کنید",
 	"Click here to select documents.": "برای انتخاب اسناد اینجا را کلیک کنید.",
@@ -86,6 +84,7 @@
 	"Database": "پایگاه داده",
 	"DD/MM/YYYY HH:mm": "DD/MM/YYYY HH:mm",
 	"Default": "پیشفرض",
+	"Default (Automatic1111)": "",
 	"Default (Web API)": "پیشفرض (Web API)",
 	"Default model updated": "مدل پیشفرض به\u200cروزرسانی شد",
 	"Default Prompt Suggestions": "پیشنهادات پرامپت پیش فرض",
@@ -120,11 +119,20 @@
 	"Enable Chat History": "تاریخچه چت را فعال کنید",
 	"Enable New Sign Ups": "فعال کردن ثبت نام\u200cهای جدید",
 	"Enabled": "فعال",
+	"Enter API Key": "",
 	"Enter Chunk Overlap": "مقدار Chunk Overlap را وارد کنید",
 	"Enter Chunk Size": "مقدار Chunk Size را وارد کنید",
+	"Enter Image Size (e.g. 512x512)": "",
+	"Enter LiteLLM API Base URL (litellm_params.api_base)": "",
+	"Enter LiteLLM API Key (litellm_params.api_key)": "",
+	"Enter LiteLLM API RPM (litellm_params.rpm)": "",
+	"Enter LiteLLM Model (litellm_params.model)": "",
+	"Enter Max Tokens (litellm_params.max_tokens)": "",
 	"Enter model tag (e.g. {{modelTag}})": "تگ مدل را وارد کنید (مثلا {{modelTag}})",
+	"Enter Number of Steps (e.g. 50)": "",
 	"Enter stop sequence": "توالی توقف را وارد کنید",
 	"Enter Top K": "مقدار Top K را وارد کنید",
+	"Enter URL (e.g. http://127.0.0.1:7860/)": "",
 	"Enter Your Email": "ایمیل خود را وارد کنید",
 	"Enter Your Full Name": "نام کامل خود را وارد کنید",
 	"Enter Your Password": "رمز عبور خود را وارد کنید",
@@ -148,6 +156,7 @@
 	"Hide Additional Params": "پنهان کردن پارامترهای اضافه",
 	"How can I help you today?": "امروز چطور می توانم کمک تان کنم؟",
 	"Image Generation (Experimental)": "تولید تصویر (آزمایشی)",
+	"Image Generation Engine": "",
 	"Image Settings": "تنظیمات تصویر",
 	"Images": "تصاویر",
 	"Import Chats": "ایمپورت گپ\u200cها",
@@ -165,9 +174,6 @@
 	"Language": "زبان",
 	"Light": "روشن",
 	"Listening...": "در حال گوش دادن...",
-	"LiteLLM API Base URL": "LiteLLM API Base URL",
-	"LiteLLM API Key": "LiteLLM API Key",
-	"LiteLLM API RPM": "LiteLLM API RPM",
 	"LLMs can make mistakes. Verify important information.": "مدل\u200cهای زبانی بزرگ می\u200cتوانند اشتباه کنند. اطلاعات مهم را راستی\u200cآزمایی کنید.",
 	"Made by OpenWebUI Community": "ساخته شده توسط OpenWebUI Community",
 	"Make sure to enclose them with": "مطمئن شوید که آنها را با این محصور کنید:",
@@ -213,8 +219,11 @@
 	"Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "اوه! شما از یک روش پشتیبانی نشده (فقط frontend) استفاده می کنید. لطفاً WebUI را از بکند اجرا کنید.",
 	"Open": "باز",
 	"Open AI": "Open AI",
+	"Open AI (Dall-E)": "",
 	"Open new chat": "باز کردن گپ جدید",
 	"OpenAI API": "OpenAI API",
+	"OpenAI API Key": "",
+	"OpenAI API Key is required.": "",
 	"or": "روشن",
 	"Parameters": "پارامترها",
 	"Password": "رمز عبور",
@@ -255,7 +264,9 @@
 	"See readme.md for instructions": "برای مشاهده دستورالعمل\u200cها به readme.md مراجعه کنید",
 	"See what's new": "ببینید موارد جدید چه بوده",
 	"Seed": "Seed",
+	"Select a mode": "",
 	"Select a model": "انتخاب یک مدل",
+	"Select an Ollama instance": "",
 	"Send a Messsage": "ارسال یک پیام",
 	"Send message": "ارسال پیام",
 	"Server connection verified": "اتصال سرور تأیید شد",

+ 17 - 6
src/lib/i18n/locales/fr/translation.json

@@ -2,7 +2,6 @@
 	"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' ou '-1' pour aucune expiration.",
 	"(Beta)": "(Bêta)",
 	"(e.g. `sh webui.sh --api`)": "(par ex. `sh webui.sh --api`)",
-	"{{item}} not provided": "{{item}} non fourni",
 	"{{modelName}} is thinking...": "{{modelName}} réfléchit...",
 	"{{webUIName}} Backend Required": "Backend {{webUIName}} requis",
 	"About": "À propos",
@@ -14,14 +13,12 @@
 	"Add a short title for this prompt": "Ajouter un court titre pour ce prompt",
 	"Add Docs": "Ajouter des documents",
 	"Add Files": "Ajouter des fichiers",
-	"Add LiteLLM Model": "Ajouter un modèle LiteLLM",
 	"Add message": "Ajouter un message",
 	"add tags": "ajouter des tags",
 	"Adjusting these settings will apply changes universally to all users.": "L'ajustement de ces paramètres appliquera les changements à tous les utilisateurs.",
 	"admin": "Administrateur",
 	"Admin Panel": "Panneau d'administration",
 	"Admin Settings": "Paramètres d'administration",
-	"Advanced Model Params": "Paramètres avancés du modèle",
 	"Advanced Parameters": "Paramètres avancés",
 	"all": "tous",
 	"All Users": "Tous les utilisateurs",
@@ -39,6 +36,7 @@
 	"Auto-playback response": "Réponse en lecture automatique",
 	"Auto-send input after 3 sec.": "Envoyer automatiquement l'entrée après 3 sec.",
 	"AUTOMATIC1111 Base URL": "URL de base AUTOMATIC1111",
+	"AUTOMATIC1111 Base URL is required.": "",
 	"available!": "disponible !",
 	"Back": "Retour",
 	"Builder Mode": "Mode Constructeur",
@@ -86,6 +84,7 @@
 	"Database": "Base de données",
 	"DD/MM/YYYY HH:mm": "DD/MM/YYYY HH:mm",
 	"Default": "Par défaut",
+	"Default (Automatic1111)": "",
 	"Default (Web API)": "Par défaut (API Web)",
 	"Default model updated": "Modèle par défaut mis à jour",
 	"Default Prompt Suggestions": "Suggestions de prompt par défaut",
@@ -120,11 +119,20 @@
 	"Enable Chat History": "Activer l'historique du chat",
 	"Enable New Sign Ups": "Activer les nouvelles inscriptions",
 	"Enabled": "Activé",
+	"Enter API Key": "",
 	"Enter Chunk Overlap": "",
 	"Enter Chunk Size": "",
+	"Enter Image Size (e.g. 512x512)": "",
+	"Enter LiteLLM API Base URL (litellm_params.api_base)": "",
+	"Enter LiteLLM API Key (litellm_params.api_key)": "",
+	"Enter LiteLLM API RPM (litellm_params.rpm)": "",
+	"Enter LiteLLM Model (litellm_params.model)": "",
+	"Enter Max Tokens (litellm_params.max_tokens)": "",
 	"Enter model tag (e.g. {{modelTag}})": "",
+	"Enter Number of Steps (e.g. 50)": "",
 	"Enter stop sequence": "Entrez la séquence d'arrêt",
 	"Enter Top K": "",
+	"Enter URL (e.g. http://127.0.0.1:7860/)": "",
 	"Enter Your Email": "Entrez votre email",
 	"Enter Your Full Name": "Entrez votre nom complet",
 	"Enter Your Password": "Entrez votre mot de passe",
@@ -148,6 +156,7 @@
 	"Hide Additional Params": "Hide Additional Params",
 	"How can I help you today?": "Comment puis-je vous aider aujourd'hui ?",
 	"Image Generation (Experimental)": "Génération d'image (Expérimental)",
+	"Image Generation Engine": "",
 	"Image Settings": "Paramètres d'image",
 	"Images": "Images",
 	"Import Chats": "Importer les chats",
@@ -165,9 +174,6 @@
 	"Language": "Langue",
 	"Light": "Clair",
 	"Listening...": "Écoute...",
-	"LiteLLM API Base URL": "URL de base de l'API LiteLLM",
-	"LiteLLM API Key": "Clé API LiteLLM",
-	"LiteLLM API RPM": "RPM API LiteLLM",
 	"LLMs can make mistakes. Verify important information.": "Les LLMs peuvent faire des erreurs. Vérifiez les informations importantes.",
 	"Made by OpenWebUI Community": "Réalisé par la communauté OpenWebUI",
 	"Make sure to enclose them with": "Assurez-vous de les entourer avec",
@@ -213,8 +219,11 @@
 	"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": "Ouvrir",
 	"Open AI": "Open AI",
+	"Open AI (Dall-E)": "",
 	"Open new chat": "Ouvrir un nouveau chat",
 	"OpenAI API": "API OpenAI",
+	"OpenAI API Key": "",
+	"OpenAI API Key is required.": "",
 	"or": "ou",
 	"Parameters": "Paramètres",
 	"Password": "Mot de passe",
@@ -255,7 +264,9 @@
 	"See readme.md for instructions": "Voir readme.md pour les instructions",
 	"See what's new": "Voir les nouveautés",
 	"Seed": "Graine",
+	"Select a mode": "",
 	"Select a model": "Sélectionner un modèle",
+	"Select an Ollama instance": "",
 	"Send a Messsage": "Envoyer un message",
 	"Send message": "Envoyer un message",
 	"Server connection verified": "Connexion au serveur vérifiée",

+ 18 - 7
src/lib/i18n/locales/uk/translation.json

@@ -2,7 +2,6 @@
 	"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' or '-1' для відсутності терміну дії.",
 	"(Beta)": "(Beta)",
 	"(e.g. `sh webui.sh --api`)": "(e.g. `sh webui.sh --api`)",
-	"{{item}} not provided": "{{item}} не надано",
 	"{{modelName}} is thinking...": "{{modelName}} думає...",
 	"{{webUIName}} Backend Required": "Необхідний бекенд {{webUIName}}",
 	"About": "Про програму",
@@ -14,14 +13,12 @@
 	"Add a short title for this prompt": "Додати коротку назву для цього запиту",
 	"Add Docs": "Додати документи",
 	"Add Files": "Додати файли",
-	"Add LiteLLM Model": "Додати модель LiteLLM",
 	"Add message": "Додати повідомлення",
 	"add tags": "додати теги",
 	"Adjusting these settings will apply changes universally to all users.": "Корегування цих налаштувань застосовуватиме зміни для всіх користувачів.",
 	"admin": "Адмін",
 	"Admin Panel": "Панель адміністратора",
 	"Admin Settings": "Налаштування адміністратора",
-	"Advanced Model Params": "Розширені параметри моделі",
 	"Advanced Parameters": "Розширені параметри",
 	"all": "всі",
 	"All Users": "Всі користувачі",
@@ -39,6 +36,7 @@
 	"Auto-playback response": "Автоматичне відтворення відповіді",
 	"Auto-send input after 3 sec.": "Автоматична відправка вводу через 3 сек.",
 	"AUTOMATIC1111 Base URL": "Базова адреса URL AUTOMATIC1111",
+	"AUTOMATIC1111 Base URL is required.": "",
 	"available!": "доступно!",
 	"Back": "Назад",
 	"Builder Mode": "Режим конструктора",
@@ -56,7 +54,7 @@
 	"Chunk Overlap": "Перекриття фрагментів",
 	"Chunk Params": "Параметри фрагментів",
 	"Chunk Size": "Розмір фрагменту",
-	"Click here for help": "Клацніть тут, щоб отримати допомогу",
+	"Click here for help.": "Клацніть тут, щоб отримати допомогу.",
 	"Click here to check other modelfiles.": "Клацніть тут, щоб перевірити інші modelfiles.",
 	"Click here to select": "",
 	"Click here to select documents.": "",
@@ -86,6 +84,7 @@
 	"Database": "База даних",
 	"DD/MM/YYYY HH:mm": "ДД/ММ/РРРР ГГ:хх",
 	"Default": "За замовчуванням",
+	"Default (Automatic1111)": "",
 	"Default (Web API)": "За замовчуванням (Web API)",
 	"Default model updated": "Модель за замовчуванням оновлено",
 	"Default Prompt Suggestions": "Запропоновані запити за замовчуванням",
@@ -120,11 +119,20 @@
 	"Enable Chat History": "Увімкнути історію чату",
 	"Enable New Sign Ups": "Дозволити нові реєстрації",
 	"Enabled": "Увімкнено",
+	"Enter API Key": "",
 	"Enter Chunk Overlap": "",
 	"Enter Chunk Size": "",
+	"Enter Image Size (e.g. 512x512)": "",
+	"Enter LiteLLM API Base URL (litellm_params.api_base)": "",
+	"Enter LiteLLM API Key (litellm_params.api_key)": "",
+	"Enter LiteLLM API RPM (litellm_params.rpm)": "",
+	"Enter LiteLLM Model (litellm_params.model)": "",
+	"Enter Max Tokens (litellm_params.max_tokens)": "",
 	"Enter model tag (e.g. {{modelTag}})": "",
+	"Enter Number of Steps (e.g. 50)": "",
 	"Enter stop sequence": "Введіть символ зупинки",
 	"Enter Top K": "",
+	"Enter URL (e.g. http://127.0.0.1:7860/)": "",
 	"Enter Your Email": "Введіть вашу електронну пошту",
 	"Enter Your Full Name": "Введіть ваше повне ім'я",
 	"Enter Your Password": "Введіть ваш пароль",
@@ -148,6 +156,7 @@
 	"Hide Additional Params": "Hide Additional Params",
 	"How can I help you today?": "Як я можу допомогти вам сьогодні?",
 	"Image Generation (Experimental)": "Генерування зображень (експериментально)",
+	"Image Generation Engine": "",
 	"Image Settings": "Налаштування зображення",
 	"Images": "Зображення",
 	"Import Chats": "Імпортувати чати",
@@ -165,9 +174,6 @@
 	"Language": "Мова",
 	"Light": "Світла",
 	"Listening...": "Слухаю...",
-	"LiteLLM API Base URL": "Базова адреса URL API LiteLLM",
-	"LiteLLM API Key": "Ключ API LiteLLM",
-	"LiteLLM API RPM": "API LiteLLM RPM",
 	"LLMs can make mistakes. Verify important information.": "LLMs можуть помилятися. Перевірте важливу інформацію.",
 	"Made by OpenWebUI Community": "Зроблено спільнотою OpenWebUI",
 	"Make sure to enclose them with": "Переконайтеся, що вони закриті",
@@ -213,8 +219,11 @@
 	"Oops! You're using an unsupported method (frontend only). Please serve the WebUI from the backend.": "Упс! Ви використовуєте непідтримуваний метод (тільки для фронтенду). Будь ласка, обслуговуйте WebUI з бекенду.",
 	"Open": "Відкрити",
 	"Open AI": "Open AI",
+	"Open AI (Dall-E)": "",
 	"Open new chat": "Відкрити новий чат",
 	"OpenAI API": "API OpenAI",
+	"OpenAI API Key": "",
+	"OpenAI API Key is required.": "",
 	"or": "або",
 	"Parameters": "Параметри",
 	"Password": "Пароль",
@@ -255,7 +264,9 @@
 	"See readme.md for instructions": "Див. readme.md для інструкцій",
 	"See what's new": "Подивіться, що нового",
 	"Seed": "Початкове значення (сід)",
+	"Select a mode": "",
 	"Select a model": "Виберіть модель",
+	"Select an Ollama instance": "",
 	"Send a Messsage": "Надіслати повідомлення",
 	"Send message": "Надіслати повідомлення",
 	"Server connection verified": "З'єднання з сервером підтверджено",