title fix + new translation keys

This commit is contained in:
Jannik Streidl 2024-03-14 20:30:30 +01:00
parent e99ab95987
commit a65d042c73
5 changed files with 9 additions and 4 deletions

View file

@ -122,7 +122,7 @@
bind:value={modelId} bind:value={modelId}
placeholder="Select a model" placeholder="Select a model"
> >
<option value="" disabled selected>Select a model</option> <option value="" disabled selected>{$i18n.t('Select a model')}</option>
{#each $models.filter((model) => model.id) as model} {#each $models.filter((model) => model.id) as model}
<option value={model.id} class="bg-gray-100 dark:bg-gray-700" <option value={model.id} class="bg-gray-100 dark:bg-gray-700"
>{model.name}</option >{model.name}</option
@ -177,7 +177,8 @@
<div class="flex justify-end items-center text-xs mt-1.5 text-right"> <div class="flex justify-end items-center text-xs mt-1.5 text-right">
<div class=" text-xs font-medium"> <div class=" text-xs font-medium">
{whitelistModels.length} Model(s) Whitelisted {whitelistModels.length}
{$i18n.t('Model(s) Whitelisted')}
</div> </div>
</div> </div>
</div> </div>

View file

@ -62,7 +62,7 @@
? $i18n.t('Checking for updates...') ? $i18n.t('Checking for updates...')
: updateAvailable : updateAvailable
? `(v${version.latest} ${$i18n.t('available!')})` ? `(v${version.latest} ${$i18n.t('available!')})`
: '(latest)'} : $i18n.t('(latest)')}
</a> </a>
</div> </div>

View file

@ -2,6 +2,7 @@
"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' oder '-1' für kein Ablaufdatum.", "'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' oder '-1' für kein Ablaufdatum.",
"(Beta)": "(Beta)", "(Beta)": "(Beta)",
"(e.g. `sh webui.sh --api`)": "(z.B. `sh webui.sh --api`)", "(e.g. `sh webui.sh --api`)": "(z.B. `sh webui.sh --api`)",
"(latest)": "(neueste)",
"{{modelName}} is thinking...": "{{modelName}} denkt nach...", "{{modelName}} is thinking...": "{{modelName}} denkt nach...",
"{{webUIName}} Backend Required": "{{webUIName}}-Backend erforderlich", "{{webUIName}} Backend Required": "{{webUIName}}-Backend erforderlich",
"About": "Über", "About": "Über",
@ -197,6 +198,7 @@
"Model not selected": "Modell nicht ausgewählt", "Model not selected": "Modell nicht ausgewählt",
"Model Tag Name": "Modell-Tag-Name", "Model Tag Name": "Modell-Tag-Name",
"Model Whitelisting": "Modell-Whitelisting", "Model Whitelisting": "Modell-Whitelisting",
"Model(s) Whitelisted": "Modell(e) auf der Whitelist",
"Modelfile": "Modelfiles", "Modelfile": "Modelfiles",
"Modelfile Advanced Settings": "Erweiterte Modelfileseinstellungen", "Modelfile Advanced Settings": "Erweiterte Modelfileseinstellungen",
"Modelfile Content": "Modelfile Content", "Modelfile Content": "Modelfile Content",

View file

@ -2,6 +2,7 @@
"'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.", "'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.": "'s', 'm', 'h', 'd', 'w' or '-1' for no expiration.",
"(Beta)": "(Beta)", "(Beta)": "(Beta)",
"(e.g. `sh webui.sh --api`)": "(e.g. `sh webui.sh --api`)", "(e.g. `sh webui.sh --api`)": "(e.g. `sh webui.sh --api`)",
"(latest)": "(latest)",
"{{modelName}} is thinking...": "{{modelName}} is thinking...", "{{modelName}} is thinking...": "{{modelName}} is thinking...",
"{{webUIName}} Backend Required": "{{webUIName}} Backend Required", "{{webUIName}} Backend Required": "{{webUIName}} Backend Required",
"About": "About", "About": "About",
@ -197,6 +198,7 @@
"Model not selected": "Model not selected", "Model not selected": "Model not selected",
"Model Tag Name": "Model Tag Name", "Model Tag Name": "Model Tag Name",
"Model Whitelisting": "Model Whitelisting", "Model Whitelisting": "Model Whitelisting",
"Model(s) Whitelisted": "Model(s) Whitelisted",
"Modelfile": "Modelfile", "Modelfile": "Modelfile",
"Modelfile Advanced Settings": "Modelfile Advanced Settings", "Modelfile Advanced Settings": "Modelfile Advanced Settings",
"Modelfile Content": "Modelfile Content", "Modelfile Content": "Modelfile Content",

View file

@ -64,7 +64,7 @@
</script> </script>
<svelte:head> <svelte:head>
<title>{$i18n.t('Admin Panel')} | ${$WEBUI_NAME}</title> <title>{$i18n.t('Admin Panel')} | {$WEBUI_NAME}</title>
</svelte:head> </svelte:head>
{#key selectedUser} {#key selectedUser}