TF-2646 Fix confused Select all name
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -3048,5 +3048,11 @@
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"selectAllMessagesOfThisPage": "اختر كافة رسائل هذه الصفحة",
|
||||
"@selectAllMessagesOfThisPage": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3244,5 +3244,11 @@
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"selectAllMessagesOfThisPage": "Select all messages of this page",
|
||||
"@selectAllMessagesOfThisPage": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
@@ -3869,5 +3869,11 @@
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"selectAllMessagesOfThisPage": "Sélectionnez tous les messages de cette page",
|
||||
"@selectAllMessagesOfThisPage": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2678,5 +2678,11 @@
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"selectAllMessagesOfThisPage": "Seleziona tutti i messaggi di questa pagina",
|
||||
"@selectAllMessagesOfThisPage": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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": {}
|
||||
}
|
||||
}
|
||||
@@ -3887,5 +3887,11 @@
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
},
|
||||
"selectAllMessagesOfThisPage": "Выбрать все сообщения на этой странице",
|
||||
"@selectAllMessagesOfThisPage": {
|
||||
"type": "text",
|
||||
"placeholders_order": [],
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user