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.

chore(core): modify ai purchase button text (#11035)

CatsJuice905349a139a1
diff --git a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/ai-plan-card.tsx b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/ai-plan-card.tsx
index fcc4748449..2dce0ccfd1 100644
--- a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/ai-plan-card.tsx
+++ b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/ai-plan-card.tsx
@@ -89,7 +89,7 @@ export const AIPlanCard = ({ onClick }: { onClick: () => void }) => {
)
) : (
<AISubscribe className={styles.planAction}>
- {t['com.affine.payment.billing-setting.ai.purchase']()}
+ {t['com.affine.payment.billing-setting.ai.start-free-trial']()}
</AISubscribe>
)
) : null}
diff --git a/packages/frontend/i18n/src/i18n.gen.ts b/packages/frontend/i18n/src/i18n.gen.ts
index 82306b241b..445ba82f41 100644
--- a/packages/frontend/i18n/src/i18n.gen.ts
+++ b/packages/frontend/i18n/src/i18n.gen.ts
@@ -3384,6 +3384,10 @@ export function useAFFiNEI18N(): {
* `Purchase`
*/
["com.affine.payment.billing-setting.ai.purchase"](): string;
+ /**
+ * `Start free trial`
+ */
+ ["com.affine.payment.billing-setting.ai.start-free-trial"](): string;
/**
* `One-time payment`
*/
diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json
index 2a45421f5a..b39e1638a7 100644
--- a/packages/frontend/i18n/src/resources/en.json
+++ b/packages/frontend/i18n/src/resources/en.json
@@ -841,6 +841,7 @@
"com.affine.payment.billing-setting.ai-plan": "AFFiNE AI",
"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.ai.start-free-trial": "Start free trial",
"com.affine.payment.billing-setting.believer.description": "You have purchased <a>Believer plan</a>. Enjoy with your benefits!",
"com.affine.payment.billing-setting.believer.price-caption": "One-time payment",
"com.affine.payment.billing-setting.believer.title": "AFFiNE Cloud",