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

This commit is contained in:
CatsJuice
2025-04-04 07:07:50 +00:00
parent 3090724659
commit 905349a139
3 changed files with 6 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ export const AIPlanCard = ({ onClick }: { onClick: () => void }) => {
) )
) : ( ) : (
<AISubscribe className={styles.planAction}> <AISubscribe className={styles.planAction}>
{t['com.affine.payment.billing-setting.ai.purchase']()} {t['com.affine.payment.billing-setting.ai.start-free-trial']()}
</AISubscribe> </AISubscribe>
) )
) : null} ) : null}

View File

@@ -3384,6 +3384,10 @@ export function useAFFiNEI18N(): {
* `Purchase` * `Purchase`
*/ */
["com.affine.payment.billing-setting.ai.purchase"](): string; ["com.affine.payment.billing-setting.ai.purchase"](): string;
/**
* `Start free trial`
*/
["com.affine.payment.billing-setting.ai.start-free-trial"](): string;
/** /**
* `One-time payment` * `One-time payment`
*/ */

View File

@@ -841,6 +841,7 @@
"com.affine.payment.billing-setting.ai-plan": "AFFiNE AI", "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.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.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.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.price-caption": "One-time payment",
"com.affine.payment.billing-setting.believer.title": "AFFiNE Cloud", "com.affine.payment.billing-setting.believer.title": "AFFiNE Cloud",