fix: 国际化
This commit is contained in:
parent
8aa9b5694a
commit
e020a53020
@ -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>
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{
|
||||
"None": "None",
|
||||
"accountBalance": "Account Balance",
|
||||
"accountOverview": "Account Overview",
|
||||
"address1": "Address 1",
|
||||
@ -7,6 +8,7 @@
|
||||
"annualYearPlanUser": "Annual Plan User",
|
||||
"availableDevices": "Available Devices",
|
||||
"beginnerTutorial": "Beginner Tutorial",
|
||||
"buySubscriptionNow": "Buy Subscription Now",
|
||||
"cancel": "Cancel",
|
||||
"confirm": "Confirm",
|
||||
"confirmResetSubscription": "Are you sure you want to reset the subscription address?",
|
||||
@ -35,6 +37,7 @@
|
||||
"noPlanAvailable": "No Plan Available",
|
||||
"noReset": "No Reset",
|
||||
"noYPlan": "No Plan Active",
|
||||
"notEffect": "Not in effect",
|
||||
"online": "Online: ",
|
||||
"pageOf": "Page {pageIndex} of {pageCount}",
|
||||
"pinnedAnnouncement": "[Pinned]",
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
{
|
||||
"None": "暂无",
|
||||
"accountBalance": "账户余额",
|
||||
"accountOverview": "账户概况",
|
||||
"address1": "地址1",
|
||||
@ -7,6 +8,7 @@
|
||||
"annualYearPlanUser": "年度套餐用户",
|
||||
"availableDevices": "可用设备",
|
||||
"beginnerTutorial": "新手教程",
|
||||
"buySubscriptionNow": "立即购买订阅",
|
||||
"cancel": "取消",
|
||||
"confirm": "确认",
|
||||
"confirmResetSubscription": "是否确认重置订阅地址?",
|
||||
@ -35,6 +37,7 @@
|
||||
"noPlanAvailable": "暂无套餐",
|
||||
"noReset": "不重置",
|
||||
"noYPlan": "尚未有套餐生效",
|
||||
"notEffect": "未生效",
|
||||
"online": "在线:",
|
||||
"pageOf": "第 {pageIndex} 页,共 {pageCount} 页",
|
||||
"pinnedAnnouncement": "【置顶公告】",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user