mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: localize remove addon dialog
This commit is contained in:
parent
0a1e8461de
commit
8e658f09ec
@ -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
|
||||
|
@ -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."
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user