Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
yijintuiding
bulaienaofutuojiesenzhang03e10886c621
diff --git a/src/app/i18n/locales/en/vip.json b/src/app/i18n/locales/en/vip.jsonindex de989f2c..e050e988 100644--- a/src/app/i18n/locales/en/vip.json+++ b/src/app/i18n/locales/en/vip.json@@ -91,6 +91,7 @@"yearly": "Yearly PLUS","singleMonth": "Single Month","trial": "Trial",+ "cancelled": "Cancelled","expireTime": "Expire Time","xufeiTime": "Renewal Time","remainingPoints": "Remaining Points",diff --git a/src/components/modals/SubscriptionManagementModal.tsx b/src/components/modals/SubscriptionManagementModal.tsxindex c4d36dbd..0e82f373 100644--- a/src/components/modals/SubscriptionManagementModal.tsx+++ b/src/components/modals/SubscriptionManagementModal.tsx@@ -244,6 +244,8 @@ const SubscriptionManagementModal = memo(({ open, onClose }: SubscriptionManagemreturn statusInfo.isYearly ? tVip('modal.vipInfo.yearly' as any) + ` (${tVip('modal.vipInfo.singleMonth' as any)})` : tVip('modal.vipInfo.monthly' as any) + ` (${tVip('modal.vipInfo.singleMonth' as any)})`;} else if (userInfo.vipInfo.status === 'trialing') {return tVip('modal.vipInfo.monthly' as any) + ` (${tVip('modal.vipInfo.trial' as any)})`;+ } else if (userInfo.vipInfo.status === 'active_nonrenewing') {+ return tVip('modal.vipInfo.cancelled' as any);}return tVip('modal.vipInfo.monthly' as any);})()}diff --git a/src/components/modals/VipContentModal.tsx b/src/components/modals/VipContentModal.tsxindex 7154f533..a17fa2cf 100644--- a/src/components/modals/VipContentModal.tsx+++ b/src/components/modals/VipContentModal.tsx@@ -256,6 +256,8 @@ const VipContentModal = memo(({ open, onClose }: VipContentModalProps) => {return statusInfo.isYearly ? translate('modal.vipInfo.yearly2') : translate('modal.vipInfo.monthly2');} else if (userStore.userInfo.vipInfo.status === 'trialing') {return ` ${translate('modal.vipInfo.trial' as any)}`;+ } else if (userStore.userInfo.vipInfo.status === 'active_nonrenewing') {+ return translate('modal.vipInfo.cancelled' as any);}return translate('modal.vipInfo.monthly');})()}