Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): correct ai related copywritting (#6799)

CatsJuicee7483c791447
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')}
/>
- <div className={styles.aiScrollTipText}>Meet AFFiNE AI</div>
+ <div className={styles.aiScrollTipText}>
+ {t['com.affine.ai-scroll-tip.title']()}
+ </div>
<div className={styles.aiScrollTipTag}>
- <div className={styles.aiScrollTipTagInner}>NEW</div>
+ <div className={styles.aiScrollTipTagInner}>
+ {t['com.affine.ai-scroll-tip.tag']()}
+ </div>
</div>
</div>
<Button onClick={scrollAiIntoView} type="primary">
- View
+ {t['com.affine.ai-scroll-tip.view']()}
</Button>
</div>,
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 <a>Free plan</a>.",
+ "com.affine.payment.billing-setting.ai.free-desc": "You are currently on the <a>Free plan</a>.",
"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</1>.",
"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.",