From e7483c791447c128af88bcae8e3fa1c9092022c0 Mon Sep 17 00:00:00 2001 From: CatsJuice Date: Tue, 7 May 2024 07:19:53 +0000 Subject: [PATCH] fix(core): correct ai related copywritting (#6799) --- .../setting-modal/general-setting/plans/layout.tsx | 10 +++++++--- packages/frontend/i18n/src/resources/en.json | 7 +++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/layout.tsx b/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/layout.tsx index 7497a0e312..8459d171d2 100644 --- a/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/layout.tsx +++ b/packages/frontend/core/src/components/affine/setting-modal/general-setting/plans/layout.tsx @@ -159,13 +159,17 @@ export const PlanLayout = ({ cloud, ai, aiTip }: PlanLayoutProps) => { height={24} color={cssVar('iconColor')} /> -
Meet AFFiNE AI
+
+ {t['com.affine.ai-scroll-tip.title']()} +
-
NEW
+
+ {t['com.affine.ai-scroll-tip.tag']()} +
, settingModalScrollContainer, diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json index b74d827f8c..0b3c8d27c9 100644 --- a/packages/frontend/i18n/src/resources/en.json +++ b/packages/frontend/i18n/src/resources/en.json @@ -894,7 +894,7 @@ "com.affine.payment.ai.benefit.g3-3": "Open source & Privacy ensured", "com.affine.payment.ai.billing-tip.end-at": "You have purchased AFFiNE AI. The expiration date is {{end}}.", "com.affine.payment.ai.billing-tip.next-bill-at": "You have purchased AFFiNE AI. The next payment date is {{due}}.", - "com.affine.payment.ai.pricing-plan.caption-free": "You are current on the Basic plan.", + "com.affine.payment.ai.pricing-plan.caption-free": "You are currently on the Basic plan.", "com.affine.payment.ai.pricing-plan.caption-purchased": "You have purchased AFFiNE AI", "com.affine.payment.ai.pricing-plan.learn": "Learn About AFFiNE AI", "com.affine.payment.ai.pricing-plan.title": "AFFiNE AI", @@ -914,7 +914,7 @@ "com.affine.payment.benefit-6": "Number of members per Workspace ≤ {{capacity}}", "com.affine.payment.benefit-7": "{{capacity}}-days version history", "com.affine.payment.billing-setting.ai-plan": "AFFiNE AI", - "com.affine.payment.billing-setting.ai.free-desc": "You are current on the Free plan.", + "com.affine.payment.billing-setting.ai.free-desc": "You are currently on the Free plan.", "com.affine.payment.billing-setting.ai.purchase": "Purchase", "com.affine.payment.billing-setting.cancel-subscription": "Cancel Subscription", "com.affine.payment.billing-setting.cancel-subscription.description": "Once you canceled subscription you will no longer enjoy the plan benefits.", @@ -1052,6 +1052,9 @@ "com.affine.payment.upgrade-success-page.support": "If you have any questions, please contact our <1> customer support.", "com.affine.payment.upgrade-success-page.text": "Congratulations! Your AFFiNE account has been successfully upgraded to a Pro account.", "com.affine.payment.upgrade-success-page.title": "Upgrade Successful!", + "com.affine.ai-scroll-tip.title": "Meet AFFiNE AI", + "com.affine.ai-scroll-tip.tag": "New", + "com.affine.ai-scroll-tip.view": "View", "com.affine.publicLinkDisableModal.button.cancel": "Cancel", "com.affine.publicLinkDisableModal.button.disable": "Disable", "com.affine.publicLinkDisableModal.description": "Disabling this public link will prevent anyone with the link from accessing this doc.",