diff --git a/apps/user/public/assets/locales/en-US/dashboard.json b/apps/user/public/assets/locales/en-US/dashboard.json index 37583306..4bd9803e 100644 --- a/apps/user/public/assets/locales/en-US/dashboard.json +++ b/apps/user/public/assets/locales/en-US/dashboard.json @@ -7,7 +7,8 @@ "deducted": "Deducted", "download": "Download", "expireAt": "Expires At", - "expirationDays": "Expiration Days", + "expiredDays": "Days Expired", + "remainingDays": "Remaining Days", "expired": "Expired", "finished": "Finished", "import": "Import", diff --git a/apps/user/public/assets/locales/zh-CN/dashboard.json b/apps/user/public/assets/locales/zh-CN/dashboard.json index e8c82aaf..28c35e72 100644 --- a/apps/user/public/assets/locales/zh-CN/dashboard.json +++ b/apps/user/public/assets/locales/zh-CN/dashboard.json @@ -7,7 +7,8 @@ "deducted": "已扣除", "download": "下载", "expireAt": "到期时间", - "expirationDays": "过期天数", + "expiredDays": "已过期天数", + "remainingDays": "剩余天数", "expired": "已过期", "finished": "已完成", "import": "一键导入", diff --git a/apps/user/src/sections/user/dashboard/content.tsx b/apps/user/src/sections/user/dashboard/content.tsx index 1b1449fc..876d436e 100644 --- a/apps/user/src/sections/user/dashboard/content.tsx +++ b/apps/user/src/sections/user/dashboard/content.tsx @@ -399,7 +399,9 @@ export default function Content() {
  • - {t("expirationDays", "Expiration Days")} + {isActuallyExpired + ? t("expiredDays", "Days Expired") + : t("remainingDays", "Remaining Days")} {item.expire_time