mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac: i18n
This commit is contained in:
parent
ed5669410b
commit
e0fc3e89a7
@ -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"
|
class="flex items-center justify-center gap-3 text-xl sm:text-2xl text-center font-semibold dark:text-gray-200"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
{$i18n.t('Signing in')}
|
{$i18n.t('Signing in to {{WEBUI_NAME}}', { WEBUI_NAME: $WEBUI_NAME })}
|
||||||
{$i18n.t('to')}
|
|
||||||
{$WEBUI_NAME}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
@ -160,9 +158,11 @@
|
|||||||
>
|
>
|
||||||
<div class="mb-1">
|
<div class="mb-1">
|
||||||
<div class=" text-2xl font-medium">
|
<div class=" text-2xl font-medium">
|
||||||
{mode === 'signin' ? $i18n.t('Sign in') : $i18n.t('Sign up')}
|
{#if mode === 'signin'}
|
||||||
{$i18n.t('to')}
|
{$i18n.t(`Sign in to {{WEBUI_NAME}}`, { WEBUI_NAME: $WEBUI_NAME })}
|
||||||
{$WEBUI_NAME}
|
{:else}
|
||||||
|
{$i18n.t(`Sign up to {{WEBUI_NAME}}`, { WEBUI_NAME: $WEBUI_NAME })}
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if mode === 'signup'}
|
{#if mode === 'signup'}
|
||||||
|
Loading…
Reference in New Issue
Block a user