fix for the subaddressing confirmation popup on mobile
This commit is contained in:
committed by
Dat H. Pham
parent
2a56764214
commit
c35ea81c95
@@ -1673,7 +1673,7 @@ class MailboxController extends BaseMailboxController
|
||||
}) {
|
||||
if (responsiveUtils.isLandscapeMobile(context) || responsiveUtils.isPortraitMobile(context)) {
|
||||
(ConfirmationDialogActionSheetBuilder(context)
|
||||
..messageText(AppLocalizations.of(context).message_confirmation_dialog_allow_subaddressing(mailboxName))
|
||||
..messageText(AppLocalizations.of(context).message_confirmation_dialog_allow_subaddressing_mobile(mailboxName, subaddress))
|
||||
..onCancelAction(AppLocalizations.of(context).cancel, () => popBack())
|
||||
..onConfirmAction(AppLocalizations.of(context).allow, () => onAllowSubaddressingAction(mailboxId, currentRights, MailboxActions.allowSubaddressing))
|
||||
).show();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"@@last_modified": "2025-01-28T10:49:54.473622",
|
||||
"@@last_modified": "2025-02-13T17:07:01.807952",
|
||||
"initializing_data": "Initializing data...",
|
||||
"@initializing_data": {
|
||||
"type": "text",
|
||||
@@ -734,6 +734,18 @@
|
||||
"nameMailbox": {}
|
||||
}
|
||||
},
|
||||
"message_confirmation_dialog_allow_subaddressing_mobile": "You are about to allow anyone to send emails directly to your folder \"{nameMailbox}\" using the address <{address}>",
|
||||
"@message_confirmation_dialog_allow_subaddressing_mobile": {
|
||||
"type": "text",
|
||||
"placeholders_order": [
|
||||
"nameMailbox",
|
||||
"address"
|
||||
],
|
||||
"placeholders": {
|
||||
"nameMailbox": {},
|
||||
"address": {}
|
||||
}
|
||||
},
|
||||
"renameFolder": "Rename folder",
|
||||
"@renameFolder": {
|
||||
"type": "text",
|
||||
@@ -4226,6 +4238,12 @@
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"messageWarningDialogWhenExpiredOIDCTokenAndReconnection": "Your session expired. We need to take you back to the login page in order to refresh it. You might want to save the email you are currently editing before we do so.",
|
||||
"@messageWarningDialogWhenExpiredOIDCTokenAndReconnection": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"replyToList": "Reply to list",
|
||||
"@replyToList": {
|
||||
"type": "text",
|
||||
@@ -4258,8 +4276,6 @@
|
||||
},
|
||||
"editAsNewEmail": "Edit as new email",
|
||||
"@editAsNewEmail": {
|
||||
"messageWarningDialogWhenExpiredOIDCTokenAndReconnection": "Your session expired. We need to take you back to the login page in order to refresh it. You might want to save the email you are currently editing before we do so.",
|
||||
"@messageWarningDialogWhenExpiredOIDCTokenAndReconnection": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
|
||||
@@ -744,6 +744,14 @@ class AppLocalizations {
|
||||
);
|
||||
}
|
||||
|
||||
String message_confirmation_dialog_allow_subaddressing_mobile(String nameMailbox, String address) {
|
||||
return Intl.message(
|
||||
'You are about to allow anyone to send emails directly to your folder "$nameMailbox" using the address <$address>',
|
||||
name: 'message_confirmation_dialog_allow_subaddressing_mobile',
|
||||
args: [nameMailbox, address]
|
||||
);
|
||||
}
|
||||
|
||||
String get renameFolder {
|
||||
return Intl.message(
|
||||
'Rename folder',
|
||||
|
||||
Reference in New Issue
Block a user