diff --git a/package-lock.json b/package-lock.json index d8fc7d54c..fd2357846 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "open-webui", - "version": "0.1.106", + "version": "0.1.107", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "open-webui", - "version": "0.1.106", + "version": "0.1.107", "dependencies": { "@sveltejs/adapter-node": "^1.3.1", "async": "^3.2.5", diff --git a/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte b/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte index bdc3a9514..06e690683 100644 --- a/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte +++ b/src/lib/components/chat/Settings/Advanced/AdvancedParams.svelte @@ -45,7 +45,7 @@ @@ -111,9 +111,9 @@ }} > {#if options.mirostat === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} @@ -157,9 +157,9 @@ }} > {#if options.mirostat_eta === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} @@ -203,9 +203,9 @@ }} > {#if options.mirostat_tau === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Custom')} {/if} @@ -249,9 +249,9 @@ }} > {#if options.top_k === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} @@ -295,9 +295,9 @@ }} > {#if options.top_p === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} @@ -341,9 +341,9 @@ }} > {#if options.repeat_penalty === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} @@ -387,9 +387,9 @@ }} > {#if options.repeat_last_n === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} @@ -433,9 +433,9 @@ }} > {#if options.tfs_z === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} @@ -479,9 +479,9 @@ }} > {#if options.num_ctx === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} @@ -524,9 +524,9 @@ }} > {#if options.num_predict === ''} - {$i18n.t(' Default ')} + {$i18n.t('Default')} {:else} - {$i18n.t(' Custom ')} + {$i18n.t('Default')} {/if} diff --git a/src/lib/components/chat/Settings/Connections.svelte b/src/lib/components/chat/Settings/Connections.svelte index 63159430e..e4c6daed9 100644 --- a/src/lib/components/chat/Settings/Connections.svelte +++ b/src/lib/components/chat/Settings/Connections.svelte @@ -72,7 +72,7 @@ type="button" on:click={() => { showOpenAI = !showOpenAI; - }}>{showOpenAI ? 'Hide' : 'Show'}{showOpenAI ? $i18n.t('Hide') : $i18n.t('Show')} @@ -83,7 +83,7 @@
diff --git a/src/lib/components/chat/Settings/General.svelte b/src/lib/components/chat/Settings/General.svelte index ec496a824..294d496a7 100644 --- a/src/lib/components/chat/Settings/General.svelte +++ b/src/lib/components/chat/Settings/General.svelte @@ -175,7 +175,7 @@
-
{$i18n.t('Notification')}
+
{$i18n.t('Desktop Notifications')}
{showAdvanced ? $i18n.t('Hide') : $i18n.t('Show')}
diff --git a/src/lib/components/chat/Settings/Interface.svelte b/src/lib/components/chat/Settings/Interface.svelte index 50f840c4b..529fad73e 100644 --- a/src/lib/components/chat/Settings/Interface.svelte +++ b/src/lib/components/chat/Settings/Interface.svelte @@ -82,8 +82,7 @@ fullScreenMode = settings.fullScreenMode ?? false; titleAutoGenerateModel = settings.titleAutoGenerateModel ?? ''; titleGenerationPrompt = - settings.titleGenerationPrompt ?? - `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': {{prompt}}`; + settings.titleGenerationPrompt ?? $i18n.t('Default titleGenerationPromt') + ' {{prompt}}'; }); @@ -163,7 +162,7 @@
- Display the username instead of "You" in the Chat + {$i18n.t('Display the username instead of You in the Chat')}