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());
|
.add(const SettingsBillingEvent.openCustomerPortal());
|
||||||
} else if (subscriptionInfo != null) {
|
} else if (subscriptionInfo != null) {
|
||||||
SettingsAlertDialog(
|
SettingsAlertDialog(
|
||||||
title: 'Remove AI Max',
|
title: LocaleKeys.settings_billingPage_addons_removeDialog_title
|
||||||
subtitle:
|
.tr(args: [plan.label]).tr(),
|
||||||
'Are you sure you want to remove AI Max? You will keep the benefits until the end of the billing period.',
|
subtitle: LocaleKeys
|
||||||
|
.settings_billingPage_addons_removeDialog_description
|
||||||
|
.tr(args: [plan.label]).tr(),
|
||||||
confirm: () {
|
confirm: () {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
context
|
context
|
||||||
|
@ -730,6 +730,10 @@
|
|||||||
"description": "Unlock unlimited AI offline on your device",
|
"description": "Unlock unlimited AI offline on your device",
|
||||||
"activeDescription": "Next invoice due on {}",
|
"activeDescription": "Next invoice due on {}",
|
||||||
"canceledDescription": "AI On-device will be available until {}"
|
"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