mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 16:59:42 +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"
|
||||
>
|
||||
<div>
|
||||
{$i18n.t('Signing in')}
|
||||
{$i18n.t('to')}
|
||||
{$WEBUI_NAME}
|
||||
{$i18n.t('Signing in to {{WEBUI_NAME}}', { WEBUI_NAME: $WEBUI_NAME })}
|
||||
</div>
|
||||
|
||||
<div>
|
||||
@ -160,9 +158,11 @@
|
||||
>
|
||||
<div class="mb-1">
|
||||
<div class=" text-2xl font-medium">
|
||||
{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}
|
||||
</div>
|
||||
|
||||
{#if mode === 'signup'}
|
||||
|
Loading…
Reference in New Issue
Block a user