diff --git a/lib/features/rules_filter_creator/presentation/model/email_rule_filter_action.dart b/lib/features/rules_filter_creator/presentation/model/email_rule_filter_action.dart index 7daca3ab80..4c9100f91d 100644 --- a/lib/features/rules_filter_creator/presentation/model/email_rule_filter_action.dart +++ b/lib/features/rules_filter_creator/presentation/model/email_rule_filter_action.dart @@ -4,7 +4,7 @@ import 'package:tmail_ui_user/main/localizations/app_localizations.dart'; enum EmailRuleFilterAction { moveMessage, maskAsSeen, - startIt, + starIt, rejectIt, markAsSpam, forwardTo; @@ -15,8 +15,8 @@ enum EmailRuleFilterAction { return AppLocalizations.of(context).moveMessage; case EmailRuleFilterAction.maskAsSeen: return AppLocalizations.of(context).maskAsSeen; - case EmailRuleFilterAction.startIt: - return AppLocalizations.of(context).startIt; + case EmailRuleFilterAction.starIt: + return AppLocalizations.of(context).starIt; case EmailRuleFilterAction.rejectIt: return AppLocalizations.of(context).rejectIt; case EmailRuleFilterAction.markAsSpam: diff --git a/lib/features/rules_filter_creator/presentation/model/rule_filter_action_arguments.dart b/lib/features/rules_filter_creator/presentation/model/rule_filter_action_arguments.dart index 52dbf7271e..65f8d5b3c7 100644 --- a/lib/features/rules_filter_creator/presentation/model/rule_filter_action_arguments.dart +++ b/lib/features/rules_filter_creator/presentation/model/rule_filter_action_arguments.dart @@ -21,7 +21,7 @@ abstract class RuleFilterActionArguments with EquatableMixin { return MoveMessageActionArguments(); case EmailRuleFilterAction.rejectIt: return RejectItActionArguments(); - case EmailRuleFilterAction.startIt: + case EmailRuleFilterAction.starIt: return StarItActionArguments(); default: return EmptyRuleFilterActionArguments(); @@ -84,7 +84,7 @@ class RejectItActionArguments extends RuleFilterActionArguments { class StarItActionArguments extends RuleFilterActionArguments { StarItActionArguments() : super( - action: EmailRuleFilterAction.startIt, + action: EmailRuleFilterAction.starIt, ); } diff --git a/lib/features/rules_filter_creator/presentation/rules_filter_creator_controller.dart b/lib/features/rules_filter_creator/presentation/rules_filter_creator_controller.dart index 1c4e1ecb87..933ece82d1 100644 --- a/lib/features/rules_filter_creator/presentation/rules_filter_creator_controller.dart +++ b/lib/features/rules_filter_creator/presentation/rules_filter_creator_controller.dart @@ -232,7 +232,7 @@ class RulesFilterCreatorController extends BaseMailboxController { } } if (currentAction.markAsImportant == true) { - EmailRuleFilterAction? action = EmailRuleFilterAction.startIt; + EmailRuleFilterAction? action = EmailRuleFilterAction.starIt; RuleFilterActionArguments newRuleFilterAction = RuleFilterActionArguments.newAction(action); listEmailRuleFilterActionSelected.add(newRuleFilterAction); } diff --git a/lib/features/rules_filter_creator/presentation/widgets/rule_filter_action_detailed_builder.dart b/lib/features/rules_filter_creator/presentation/widgets/rule_filter_action_detailed_builder.dart index 3a8b001c7d..f90450cb18 100644 --- a/lib/features/rules_filter_creator/presentation/widgets/rule_filter_action_detailed_builder.dart +++ b/lib/features/rules_filter_creator/presentation/widgets/rule_filter_action_detailed_builder.dart @@ -47,7 +47,7 @@ class RuleFilterActionDetailed extends StatelessWidget { onChangeAction: forwardEmailOnChangeAction, ); case EmailRuleFilterAction.maskAsSeen: - case EmailRuleFilterAction.startIt: + case EmailRuleFilterAction.starIt: case EmailRuleFilterAction.rejectIt: case EmailRuleFilterAction.markAsSpam: default: diff --git a/lib/l10n/intl_messages.arb b/lib/l10n/intl_messages.arb index a95e7866e0..18ed1a01ba 100644 --- a/lib/l10n/intl_messages.arb +++ b/lib/l10n/intl_messages.arb @@ -1,5 +1,5 @@ { - "@@last_modified": "2023-11-16T12:39:33.304952", + "@@last_modified": "2023-12-05T22:37:22.835805", "initializing_data": "Initializing data...", "@initializing_data": { "type": "text", @@ -3356,8 +3356,8 @@ "placeholders_order": [], "placeholders": {} }, - "startIt": "Start it", - "@startIt": { + "starIt": "Star it", + "@starIt": { "type": "text", "placeholders_order": [], "placeholders": {} diff --git a/lib/main/localizations/app_localizations.dart b/lib/main/localizations/app_localizations.dart index 50f5d1a58b..fc54f4adda 100644 --- a/lib/main/localizations/app_localizations.dart +++ b/lib/main/localizations/app_localizations.dart @@ -3464,10 +3464,10 @@ class AppLocalizations { ); } - String get startIt { + String get starIt { return Intl.message( - 'Start it', - name: 'startIt', + 'Star it', + name: 'starIt', ); }