TF-853 Fix delete a rule without confirm dialog

This commit is contained in:
dab246
2022-09-05 09:26:45 +07:00
committed by Dat H. Pham
parent 9cd7e8c7de
commit 4df1061905
4 changed files with 108 additions and 9 deletions
@@ -2178,4 +2178,24 @@ class AppLocalizations {
'Creating rules to handle incoming messages. You choose both the condition that triggers a rule and the actions the rule will take.',
name: 'emailRuleSettingExplanation');
}
String messageConfirmationDialogDeleteEmailRule(String ruleName) {
return Intl.message(
'Do you want to delete rule "$ruleName"?',
name: 'messageConfirmationDialogDeleteEmailRule',
args: [ruleName]
);
}
String get deleteEmailRule {
return Intl.message(
'Delete rule',
name: 'deleteEmailRule');
}
String get toastMessageDeleteEmailRuleSuccessfully {
return Intl.message(
'The rule has been removed.',
name: 'toastMessageDeleteEmailRuleSuccessfully');
}
}