Browse Source

fix: make translation key naming consistent

Ased Mammad 1 năm trước cách đây
mục cha
commit
ec8f229f5a

+ 1 - 1
src/lib/i18n/locales/de/common.json

@@ -3,7 +3,7 @@
 	"(e.g. `sh webui.sh --api`)": "(z.B. `sh webui.sh --api`)",
 	"{{item}} not provided": "{{item}} nicht angegeben",
 	"{{modelName}} is thinking...": "{{modelName}} denkt nach...",
-	"{{webui_name}} Backend Required": "{{webui_name}}-Backend erforderlich",
+	"{{webUIName}} Backend Required": "{{webUIName}}-Backend erforderlich",
 	"About": "Über",
 	"Account": "Account",
 	"Action": "Aktion",

+ 1 - 1
src/lib/i18n/locales/en/common.json

@@ -3,7 +3,7 @@
 	"(e.g. `sh webui.sh --api`)": "(e.g. `sh webui.sh --api`)",
 	"{{item}} not provided": "{{item}} not provided",
 	"{{modelName}} is thinking...": "{{modelName}} is thinking...",
-	"{{webui_name}} Backend Required": "{{webui_name}} Backend Required",
+	"{{webUIName}} Backend Required": "{{webUIName}} Backend Required",
 	"About": "About",
 	"Account": "Account",
 	"Action": "Action",

+ 1 - 1
src/lib/i18n/locales/fa/common.json

@@ -241,7 +241,7 @@
 	"Users": "کاربران",
 	"User": "کاربر",
 	"WebUI Add-ons": "WebUI Add-ons",
-	"{{webui_name}} Backend Required": "{{webui_name}} Backend Required",
+	"{{webUIName}} Backend Required": "{{webUIName}} Backend Required",
 	"WebUI Settings": "تنظیمات WebUI",
 	"Web": "وب",
 	"Whisper (Local)": "Whisper (Local)",

+ 1 - 1
src/routes/error/+page.svelte

@@ -22,7 +22,7 @@
 			<div class="m-auto pb-44 flex flex-col justify-center">
 				<div class="max-w-md">
 					<div class="text-center text-2xl font-medium z-50">
-						{$i18n.t('{{webui_name}} Backend Required', { webui_name: $WEBUI_NAME })}
+						{$i18n.t('{{webUIName}} Backend Required', { webUIName: $WEBUI_NAME })}
 					</div>
 
 					<div class=" mt-4 text-center text-sm w-full">