diff --git a/apps/user/app/(main)/(content)/(user)/dashboard/components/SubscribeCard/index.tsx b/apps/user/app/(main)/(content)/(user)/dashboard/components/SubscribeCard/index.tsx index b397f5b..baea550 100644 --- a/apps/user/app/(main)/(content)/(user)/dashboard/components/SubscribeCard/index.tsx +++ b/apps/user/app/(main)/(content)/(user)/dashboard/components/SubscribeCard/index.tsx @@ -122,7 +122,7 @@ const SubscribeCard = (props: SubscribeCardProps) => {
- 立即购买订阅 + {t('buySubscriptionNow')}
diff --git a/apps/user/app/(main)/(content)/(user)/dashboard/content.tsx b/apps/user/app/(main)/(content)/(user)/dashboard/content.tsx index 41e798c..b6a15c8 100644 --- a/apps/user/app/(main)/(content)/(user)/dashboard/content.tsx +++ b/apps/user/app/(main)/(content)/(user)/dashboard/content.tsx @@ -258,7 +258,7 @@ export default function Content() { ) : ( - 未生效 + {t('notEffect')} )}
@@ -274,14 +274,14 @@ export default function Content() {
{t('planExpirationTime')} - {formatDate(userSubscribe?.[0]?.expire_time, false) || '暂无'} + {formatDate(userSubscribe?.[0]?.expire_time, false) || t('None')}
{userSubscribe?.[0]?.subscribe.name ? ( userSubscribe?.[0]?.subscribe.name ) : ( - 暂无套餐 + {t('noPlanAvailable')} )}
diff --git a/apps/user/locales/en-US/dashboard.json b/apps/user/locales/en-US/dashboard.json index 07d34f7..1bc7a5a 100644 --- a/apps/user/locales/en-US/dashboard.json +++ b/apps/user/locales/en-US/dashboard.json @@ -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]", diff --git a/apps/user/locales/zh-CN/dashboard.json b/apps/user/locales/zh-CN/dashboard.json index 34612ef..2fc00a2 100644 --- a/apps/user/locales/zh-CN/dashboard.json +++ b/apps/user/locales/zh-CN/dashboard.json @@ -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": "【置顶公告】",