From add8c56c69cb1a89f2af3797c9a9ff8a47af5e06 Mon Sep 17 00:00:00 2001 From: CatsJuice Date: Thu, 7 Nov 2024 07:37:05 +0000 Subject: [PATCH] chore(core): adjust billing payment methods copywriting, close AF-1638 (#8733) --- .../dialogs/setting/general-setting/billing/index.tsx | 2 +- .../dialogs/setting/general-setting/billing/style.css.ts | 2 +- packages/frontend/i18n/src/resources/en.json | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/index.tsx b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/index.tsx index b4e6ea086d..ab872aec11 100644 --- a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/index.tsx +++ b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/index.tsx @@ -471,7 +471,7 @@ const PaymentMethodUpdater = () => { return ( ); }; diff --git a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/style.css.ts b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/style.css.ts index 74cb0f927b..c145251a5a 100644 --- a/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/style.css.ts +++ b/packages/frontend/core/src/desktop/dialogs/setting/general-setting/billing/style.css.ts @@ -21,7 +21,7 @@ export const currentPlan = style({ flex: '1 0 0', }); export const planAction = style({ - width: '100%', + width: 'auto', marginTop: '8px', }); export const planPrice = style({ diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json index ec9a1413ca..e688fa4555 100644 --- a/packages/frontend/i18n/src/resources/en.json +++ b/packages/frontend/i18n/src/resources/en.json @@ -793,8 +793,9 @@ "com.affine.payment.billing-setting.month": "month", "com.affine.payment.billing-setting.no-invoice": "There are no invoices to display.", "com.affine.payment.billing-setting.paid": "Paid", - "com.affine.payment.billing-setting.payment-method": "Payment method", - "com.affine.payment.billing-setting.payment-method.description": "Provided by Stripe.", + "com.affine.payment.billing-setting.payment-method": "Manage payment details", + "com.affine.payment.billing-setting.payment-method.description": "View future and past invoices, update billing information, and change payment methods. Provided by Stripe.", + "com.affine.payment.billing-setting.payment-method.go": "Go", "com.affine.payment.billing-setting.renew-date": "Renew date", "com.affine.payment.billing-setting.renew-date.description": "Next billing date: {{renewDate}}", "com.affine.payment.billing-setting.due-date": "Due date",