diff --git a/src/routes/auth/+page.svelte b/src/routes/auth/+page.svelte index f13ec42b0..f6ba932b9 100644 --- a/src/routes/auth/+page.svelte +++ b/src/routes/auth/+page.svelte @@ -140,9 +140,7 @@ class="flex items-center justify-center gap-3 text-xl sm:text-2xl text-center font-semibold dark:text-gray-200" >
- {$i18n.t('Signing in')} - {$i18n.t('to')} - {$WEBUI_NAME} + {$i18n.t('Signing in to {{WEBUI_NAME}}', { WEBUI_NAME: $WEBUI_NAME })}
@@ -160,9 +158,11 @@ >
- {mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Sign up')} - {$i18n.t('to')} - {$WEBUI_NAME} + {#if mode === 'signin'} + {$i18n.t(`Sign in to {{WEBUI_NAME}}`, { WEBUI_NAME: $WEBUI_NAME })} + {:else} + {$i18n.t(`Sign up to {{WEBUI_NAME}}`, { WEBUI_NAME: $WEBUI_NAME })} + {/if}
{#if mode === 'signup'}