fix: 国际化
This commit is contained in:
@@ -122,7 +122,7 @@ const SubscribeCard = (props: SubscribeCardProps) => {
|
||||
<div className='relative rounded-[26px] bg-[#EAEAEA] p-2 sm:p-4'>
|
||||
<div className='absolute inset-0 z-40 flex h-full w-full items-center justify-center rounded-[26px] border-4 border-[#D9D9D9] bg-white/50 backdrop-blur-[1px]'>
|
||||
<AiroButton variant={'primary'} asChild>
|
||||
<Link href={'/subscribe'}>立即购买订阅</Link>
|
||||
<Link href={'/subscribe'}>{t('buySubscriptionNow')}</Link>
|
||||
</AiroButton>
|
||||
</div>
|
||||
<div className='mb-3 flex flex-wrap justify-between gap-4'>
|
||||
|
||||
@@ -258,7 +258,7 @@ export default function Content() {
|
||||
</span>
|
||||
) : (
|
||||
<span className={'ml-2.5 rounded-full bg-[#666666] px-2 text-[8px] text-white'}>
|
||||
未生效
|
||||
{t('notEffect')}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
@@ -274,14 +274,14 @@ export default function Content() {
|
||||
<div>
|
||||
<div className='mt-1 text-xs font-light text-[#666666] sm:text-sm'>
|
||||
{t('planExpirationTime')}
|
||||
{formatDate(userSubscribe?.[0]?.expire_time, false) || '暂无'}
|
||||
{formatDate(userSubscribe?.[0]?.expire_time, false) || t('None')}
|
||||
</div>
|
||||
<div className='mb-3 mt-1 sm:mb-5'>
|
||||
<span className='text-2xl font-medium text-[#091B33]'>
|
||||
{userSubscribe?.[0]?.subscribe.name ? (
|
||||
userSubscribe?.[0]?.subscribe.name
|
||||
) : (
|
||||
<span className={'text-[#848484]'}>暂无套餐</span>
|
||||
<span className={'text-[#848484]'}>{t('noPlanAvailable')}</span>
|
||||
)}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user