diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_billing_view.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_billing_view.dart index 07220cc90c..d2ef69213d 100644 --- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_billing_view.dart +++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/settings_billing_view.dart @@ -262,9 +262,11 @@ class _AITile extends StatelessWidget { .add(const SettingsBillingEvent.openCustomerPortal()); } else if (subscriptionInfo != null) { SettingsAlertDialog( - title: 'Remove AI Max', - subtitle: - 'Are you sure you want to remove AI Max? You will keep the benefits until the end of the billing period.', + title: LocaleKeys.settings_billingPage_addons_removeDialog_title + .tr(args: [plan.label]).tr(), + subtitle: LocaleKeys + .settings_billingPage_addons_removeDialog_description + .tr(args: [plan.label]).tr(), confirm: () { Navigator.of(context).pop(); context diff --git a/frontend/resources/translations/en.json b/frontend/resources/translations/en.json index 783a9fc5be..7e70290d4f 100644 --- a/frontend/resources/translations/en.json +++ b/frontend/resources/translations/en.json @@ -730,6 +730,10 @@ "description": "Unlock unlimited AI offline on your device", "activeDescription": "Next invoice due on {}", "canceledDescription": "AI On-device will be available until {}" + }, + "removeDialog": { + "title": "Remove {}", + "description": "Are you sure you want to remove {}? You will keep the benefits until the end of the billing period." } } },