mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 02:42:25 +08:00
refactor(core): split the billing component into a separate file (#10924)
refactor(core): split the billing component into a separate file feat(core): show subscription status in billing settings  
This commit is contained in:
@@ -3255,6 +3255,12 @@ export function useAFFiNEI18N(): {
|
||||
["com.affine.payment.ai.billing-tip.next-bill-at"](options: {
|
||||
readonly due: string;
|
||||
}): string;
|
||||
/**
|
||||
* `Your recent payment failed, the next payment date is {{due}}.`
|
||||
*/
|
||||
["com.affine.payment.billing-tip.past-due"](options: {
|
||||
readonly due: string;
|
||||
}): string;
|
||||
/**
|
||||
* `You are currently on the Free plan.`
|
||||
*/
|
||||
@@ -3310,6 +3316,18 @@ export function useAFFiNEI18N(): {
|
||||
used: string;
|
||||
limit: string;
|
||||
}>): string;
|
||||
/**
|
||||
* `Active`
|
||||
*/
|
||||
["com.affine.payment.subscription-status.active"](): string;
|
||||
/**
|
||||
* `Past-due bill`
|
||||
*/
|
||||
["com.affine.payment.subscription-status.past-due"](): string;
|
||||
/**
|
||||
* `Trialing`
|
||||
*/
|
||||
["com.affine.payment.subscription-status.trialing"](): string;
|
||||
/**
|
||||
* `Unlimited local workspaces`
|
||||
*/
|
||||
|
||||
@@ -811,6 +811,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.billing-tip.past-due": "Your recent payment failed, the next payment date is {{due}}.",
|
||||
"com.affine.payment.ai.pricing-plan.caption-free": "You are currently on the Free 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",
|
||||
@@ -824,6 +825,9 @@
|
||||
"com.affine.payment.ai.usage.purchase-button-label": "Purchase",
|
||||
"com.affine.payment.ai.usage.used-caption": "Times used",
|
||||
"com.affine.payment.ai.usage.used-detail": "{{used}}/{{limit}} times",
|
||||
"com.affine.payment.subscription-status.active": "Active",
|
||||
"com.affine.payment.subscription-status.past-due": "Past-due bill",
|
||||
"com.affine.payment.subscription-status.trialing": "Trialing",
|
||||
"com.affine.payment.benefit-1": "Unlimited local workspaces",
|
||||
"com.affine.payment.benefit-2": "Unlimited login devices",
|
||||
"com.affine.payment.benefit-3": "Unlimited blocks",
|
||||
|
||||
Reference in New Issue
Block a user