diff --git a/src/lib/components/chat/Settings/About.svelte b/src/lib/components/chat/Settings/About.svelte index 6af85a287..c6241b5d8 100644 --- a/src/lib/components/chat/Settings/About.svelte +++ b/src/lib/components/chat/Settings/About.svelte @@ -45,7 +45,8 @@
- {$WEBUI_NAME} Version + {$WEBUI_NAME} + {$i18n.t('Version')}
diff --git a/src/lib/components/chat/Settings/Account/UpdatePassword.svelte b/src/lib/components/chat/Settings/Account/UpdatePassword.svelte index 296d84a0a..175ee61eb 100644 --- a/src/lib/components/chat/Settings/Account/UpdatePassword.svelte +++ b/src/lib/components/chat/Settings/Account/UpdatePassword.svelte @@ -49,7 +49,7 @@ type="button" on:click={() => { show = !show; - }}>{show ? 'Hide' : 'Show'}{show ? $i18n.t('Hide') : $i18n.t('Show')}
@@ -102,7 +102,7 @@
{/if} diff --git a/src/lib/components/chat/Settings/Connections.svelte b/src/lib/components/chat/Settings/Connections.svelte index d3225d19e..49da26a74 100644 --- a/src/lib/components/chat/Settings/Connections.svelte +++ b/src/lib/components/chat/Settings/Connections.svelte @@ -145,7 +145,8 @@
- WebUI will make requests to '{url}/models' + {$i18n.t('WebUI will make requests to')} + '{url}/models'
{/each} diff --git a/src/lib/components/chat/SettingsModal.svelte b/src/lib/components/chat/SettingsModal.svelte index e0e32599a..eb4e7a1fb 100644 --- a/src/lib/components/chat/SettingsModal.svelte +++ b/src/lib/components/chat/SettingsModal.svelte @@ -329,7 +329,7 @@ {getModels} {saveSettings} on:save={() => { - toast.success('Settings saved successfully!'); + toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'models'} @@ -338,28 +338,28 @@ { - toast.success('Settings saved successfully!'); + toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'interface'} { - toast.success('Settings saved successfully!'); + toast.success($i18n.t('Settings saved successfully!')); }} /> {:else if selectedTab === 'audio'}