Merge pull request #4771 from toeverything/jimmfly/1030/add-i18n

feat(i18n): add new key for billing
This commit is contained in:
liuyi 2023-10-30 10:56:51 +00:00 committed by GitHub
commit b4d8f1428c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -280,7 +280,7 @@ const PaymentMethodUpdater = () => {
loading={isMutating} loading={isMutating}
disabled={isMutating} disabled={isMutating}
> >
{t['com.affine.payment.billing-setting.upgrade']()} {t['com.affine.payment.billing-setting.update']()}
</Button> </Button>
); );
}; };

View File

@ -724,6 +724,7 @@
"com.affine.payment.billing-setting.cancel-subscription": "Cancel Subscription", "com.affine.payment.billing-setting.cancel-subscription": "Cancel Subscription",
"com.affine.payment.billing-setting.cancel-subscription.description": "Subscription cancelled, your pro account will expire on {{cancelDate}}", "com.affine.payment.billing-setting.cancel-subscription.description": "Subscription cancelled, your pro account will expire on {{cancelDate}}",
"com.affine.payment.billing-setting.upgrade": "Upgrade", "com.affine.payment.billing-setting.upgrade": "Upgrade",
"com.affine.payment.billing-setting.update": "Update",
"com.affine.payment.billing-setting.change-plan": "Change Plan", "com.affine.payment.billing-setting.change-plan": "Change Plan",
"com.affine.payment.billing-setting.resume-subscription": "Resume", "com.affine.payment.billing-setting.resume-subscription": "Resume",
"com.affine.payment.billing-setting.no-invoice": "There are no invoices to display.", "com.affine.payment.billing-setting.no-invoice": "There are no invoices to display.",