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='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]'>
|
<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>
|
<AiroButton variant={'primary'} asChild>
|
||||||
<Link href={'/subscribe'}>立即购买订阅</Link>
|
<Link href={'/subscribe'}>{t('buySubscriptionNow')}</Link>
|
||||||
</AiroButton>
|
</AiroButton>
|
||||||
</div>
|
</div>
|
||||||
<div className='mb-3 flex flex-wrap justify-between gap-4'>
|
<div className='mb-3 flex flex-wrap justify-between gap-4'>
|
||||||
|
|||||||
@ -258,7 +258,7 @@ export default function Content() {
|
|||||||
</span>
|
</span>
|
||||||
) : (
|
) : (
|
||||||
<span className={'ml-2.5 rounded-full bg-[#666666] px-2 text-[8px] text-white'}>
|
<span className={'ml-2.5 rounded-full bg-[#666666] px-2 text-[8px] text-white'}>
|
||||||
未生效
|
{t('notEffect')}
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
@ -274,14 +274,14 @@ export default function Content() {
|
|||||||
<div>
|
<div>
|
||||||
<div className='mt-1 text-xs font-light text-[#666666] sm:text-sm'>
|
<div className='mt-1 text-xs font-light text-[#666666] sm:text-sm'>
|
||||||
{t('planExpirationTime')}
|
{t('planExpirationTime')}
|
||||||
{formatDate(userSubscribe?.[0]?.expire_time, false) || '暂无'}
|
{formatDate(userSubscribe?.[0]?.expire_time, false) || t('None')}
|
||||||
</div>
|
</div>
|
||||||
<div className='mb-3 mt-1 sm:mb-5'>
|
<div className='mb-3 mt-1 sm:mb-5'>
|
||||||
<span className='text-2xl font-medium text-[#091B33]'>
|
<span className='text-2xl font-medium text-[#091B33]'>
|
||||||
{userSubscribe?.[0]?.subscribe.name ? (
|
{userSubscribe?.[0]?.subscribe.name ? (
|
||||||
userSubscribe?.[0]?.subscribe.name
|
userSubscribe?.[0]?.subscribe.name
|
||||||
) : (
|
) : (
|
||||||
<span className={'text-[#848484]'}>暂无套餐</span>
|
<span className={'text-[#848484]'}>{t('noPlanAvailable')}</span>
|
||||||
)}
|
)}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"None": "None",
|
||||||
"accountBalance": "Account Balance",
|
"accountBalance": "Account Balance",
|
||||||
"accountOverview": "Account Overview",
|
"accountOverview": "Account Overview",
|
||||||
"address1": "Address 1",
|
"address1": "Address 1",
|
||||||
@ -7,6 +8,7 @@
|
|||||||
"annualYearPlanUser": "Annual Plan User",
|
"annualYearPlanUser": "Annual Plan User",
|
||||||
"availableDevices": "Available Devices",
|
"availableDevices": "Available Devices",
|
||||||
"beginnerTutorial": "Beginner Tutorial",
|
"beginnerTutorial": "Beginner Tutorial",
|
||||||
|
"buySubscriptionNow": "Buy Subscription Now",
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
"confirm": "Confirm",
|
"confirm": "Confirm",
|
||||||
"confirmResetSubscription": "Are you sure you want to reset the subscription address?",
|
"confirmResetSubscription": "Are you sure you want to reset the subscription address?",
|
||||||
@ -35,6 +37,7 @@
|
|||||||
"noPlanAvailable": "No Plan Available",
|
"noPlanAvailable": "No Plan Available",
|
||||||
"noReset": "No Reset",
|
"noReset": "No Reset",
|
||||||
"noYPlan": "No Plan Active",
|
"noYPlan": "No Plan Active",
|
||||||
|
"notEffect": "Not in effect",
|
||||||
"online": "Online: ",
|
"online": "Online: ",
|
||||||
"pageOf": "Page {pageIndex} of {pageCount}",
|
"pageOf": "Page {pageIndex} of {pageCount}",
|
||||||
"pinnedAnnouncement": "[Pinned]",
|
"pinnedAnnouncement": "[Pinned]",
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"None": "暂无",
|
||||||
"accountBalance": "账户余额",
|
"accountBalance": "账户余额",
|
||||||
"accountOverview": "账户概况",
|
"accountOverview": "账户概况",
|
||||||
"address1": "地址1",
|
"address1": "地址1",
|
||||||
@ -7,6 +8,7 @@
|
|||||||
"annualYearPlanUser": "年度套餐用户",
|
"annualYearPlanUser": "年度套餐用户",
|
||||||
"availableDevices": "可用设备",
|
"availableDevices": "可用设备",
|
||||||
"beginnerTutorial": "新手教程",
|
"beginnerTutorial": "新手教程",
|
||||||
|
"buySubscriptionNow": "立即购买订阅",
|
||||||
"cancel": "取消",
|
"cancel": "取消",
|
||||||
"confirm": "确认",
|
"confirm": "确认",
|
||||||
"confirmResetSubscription": "是否确认重置订阅地址?",
|
"confirmResetSubscription": "是否确认重置订阅地址?",
|
||||||
@ -35,6 +37,7 @@
|
|||||||
"noPlanAvailable": "暂无套餐",
|
"noPlanAvailable": "暂无套餐",
|
||||||
"noReset": "不重置",
|
"noReset": "不重置",
|
||||||
"noYPlan": "尚未有套餐生效",
|
"noYPlan": "尚未有套餐生效",
|
||||||
|
"notEffect": "未生效",
|
||||||
"online": "在线:",
|
"online": "在线:",
|
||||||
"pageOf": "第 {pageIndex} 页,共 {pageCount} 页",
|
"pageOf": "第 {pageIndex} 页,共 {pageCount} 页",
|
||||||
"pinnedAnnouncement": "【置顶公告】",
|
"pinnedAnnouncement": "【置顶公告】",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user