TF-2646 Fix confused Select all name

This commit is contained in:
dab246
2024-03-25 11:53:56 +07:00
committed by Dat H. Pham
parent f5e6cd0822
commit 0b10bf6944
9 changed files with 78 additions and 9 deletions
@@ -396,14 +396,34 @@ class MailboxDashBoardView extends BaseMailboxDashBoardView {
);
}),
const SizedBox(width: 16),
TMailButtonWidget(
key: const Key('select_all_emails_button'),
text: AppLocalizations.of(context).select_all,
icon: controller.imagePaths.icSelectAll,
borderRadius: 10,
iconSize: 16,
padding: const EdgeInsetsDirectional.symmetric(horizontal: 12, vertical: 8),
onTapActionCallback: controller.selectAllEmailAction,
Tooltip(
message: AppLocalizations.of(context).selectAllMessagesOfThisPage,
child: ElevatedButton.icon(
onPressed: controller.selectAllEmailAction,
icon: SvgPicture.asset(
controller.imagePaths.icSelectAll,
width: 16,
height: 16,
fit: BoxFit.fill,
),
label: Text(
AppLocalizations.of(context).selectAllMessagesOfThisPage,
maxLines: 1,
overflow: TextOverflow.ellipsis
),
style: ElevatedButton.styleFrom(
backgroundColor: AppColor.colorButtonHeaderThread,
shadowColor: Colors.transparent,
padding: const EdgeInsetsDirectional.symmetric(horizontal: 12, vertical: 8),
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.all(Radius.circular(10)),
),
elevation: 0.0,
foregroundColor: AppColor.colorTextButtonHeaderThread,
maximumSize: const Size.fromWidth(250),
textStyle: const TextStyle(fontSize: 12),
),
),
),
if (controller.isAbleMarkAllAsRead())
Padding(
+6
View File
@@ -3048,5 +3048,11 @@
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"selectAllMessagesOfThisPage": "اختر كافة رسائل هذه الصفحة",
"@selectAllMessagesOfThisPage": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
}
}
+6
View File
@@ -3244,5 +3244,11 @@
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"selectAllMessagesOfThisPage": "Select all messages of this page",
"@selectAllMessagesOfThisPage": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
}
}
+6
View File
@@ -3869,5 +3869,11 @@
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"selectAllMessagesOfThisPage": "Sélectionnez tous les messages de cette page",
"@selectAllMessagesOfThisPage": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
}
}
+6
View File
@@ -2678,5 +2678,11 @@
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"selectAllMessagesOfThisPage": "Seleziona tutti i messaggi di questa pagina",
"@selectAllMessagesOfThisPage": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
}
}
+7 -1
View File
@@ -1,5 +1,5 @@
{
"@@last_modified": "2024-03-15T11:06:05.333495",
"@@last_modified": "2024-03-25T10:51:29.520399",
"initializing_data": "Initializing data...",
"@initializing_data": {
"type": "text",
@@ -3683,5 +3683,11 @@
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"selectAllMessagesOfThisPage": "Select all messages of this page",
"@selectAllMessagesOfThisPage": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
}
}
+6
View File
@@ -3887,5 +3887,11 @@
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"selectAllMessagesOfThisPage": "Выбрать все сообщения на этой странице",
"@selectAllMessagesOfThisPage": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
}
}
+6
View File
@@ -3875,5 +3875,11 @@
"type": "text",
"placeholders_order": [],
"placeholders": {}
},
"selectAllMessagesOfThisPage": "Chọn tất cả tin nhắn của trang này",
"@selectAllMessagesOfThisPage": {
"type": "text",
"placeholders_order": [],
"placeholders": {}
}
}
@@ -3837,4 +3837,11 @@ class AppLocalizations {
'Always request read receipts with outgoing messages',
name: 'emailReadReceiptsToggleDescription');
}
String get selectAllMessagesOfThisPage {
return Intl.message(
'Select all messages of this page',
name: 'selectAllMessagesOfThisPage',
);
}
}