feat: 国际化处理
This commit is contained in:
@@ -46,10 +46,10 @@ export default function ChangePassword() {
|
||||
'h-[32px] w-[110px] rounded-[50px] border-0 border-[#0F2C53] bg-[#0F2C53] text-center text-base font-medium leading-[32px] text-white transition hover:bg-[#225BA9] hover:text-white sm:hidden'
|
||||
}
|
||||
>
|
||||
保存
|
||||
{t('save')}
|
||||
</Button>
|
||||
</div>
|
||||
<div className={'text-xs font-light sm:text-[15px]'}>修改登录密码</div>
|
||||
<div className={'text-xs font-light sm:text-[15px]'}>{t('description')}</div>
|
||||
</div>
|
||||
<Form {...form}>
|
||||
<form id='password-form' onSubmit={form.handleSubmit(onSubmit)} className='space-y-4'>
|
||||
@@ -102,7 +102,7 @@ export default function ChangePassword() {
|
||||
'h-full rounded-[50px] border-0 border-[#0F2C53] bg-[#0F2C53] px-[55px] py-[9px] text-xl font-bold text-white transition hover:bg-[#225BA9] hover:text-white'
|
||||
}
|
||||
>
|
||||
保存
|
||||
{t('save')}
|
||||
</Button>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
@@ -51,10 +51,10 @@ export default function NotifySettings() {
|
||||
'h-[32px] w-[110px] rounded-[50px] border-0 border-[#0F2C53] bg-[#0F2C53] text-center text-base font-medium leading-[32px] text-white transition hover:bg-[#225BA9] hover:text-white sm:hidden'
|
||||
}
|
||||
>
|
||||
保存
|
||||
{t('notify.save')}
|
||||
</Button>
|
||||
</div>
|
||||
<div className={'text-xs font-light sm:text-[15px]'}>是否邮箱通知推送</div>
|
||||
<div className={'text-xs font-light sm:text-[15px]'}>{t('notify.description')}</div>
|
||||
</div>
|
||||
<Form {...form}>
|
||||
<form
|
||||
@@ -104,7 +104,7 @@ export default function NotifySettings() {
|
||||
'h-full rounded-[50px] border-0 border-[#0F2C53] bg-[#0F2C53] px-[55px] py-[9px] text-xl font-bold text-white transition hover:bg-[#225BA9] hover:text-white'
|
||||
}
|
||||
>
|
||||
保存
|
||||
{t('notify.save')}
|
||||
</Button>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
@@ -245,13 +245,13 @@ export default function ThirdPartyAccounts() {
|
||||
'h-[32px] w-[110px] rounded-full bg-[#D9D9D9] text-center font-medium leading-[32px] text-white sm:hidden'
|
||||
}
|
||||
>
|
||||
保存
|
||||
{t('save')}
|
||||
</div>
|
||||
</div>
|
||||
<div className='mb-2 text-xs text-[#666666] sm:mb-4 sm:mt-1 sm:text-sm'>
|
||||
{user?.auth_methods?.[0]?.auth_identifier}
|
||||
</div>
|
||||
<div className={'mb-1 sm:mb-3'}>Email</div>
|
||||
<div className={'mb-1 sm:mb-3'}>{t('emailLabel')}</div>
|
||||
<div className={'flex items-center gap-2'}>
|
||||
<div
|
||||
className={
|
||||
@@ -265,7 +265,7 @@ export default function ThirdPartyAccounts() {
|
||||
'hidden h-[32px] w-[110px] rounded-full bg-[#D9D9D9] text-center text-[16px] font-medium leading-[32px] text-white sm:block'
|
||||
}
|
||||
>
|
||||
保存
|
||||
{t('save')}
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user