Copy change for multi-select delete
This commit is contained in:
parent
7e05893e1a
commit
cfb6eff27b
2 changed files with 9 additions and 4 deletions
|
@ -4652,9 +4652,13 @@
|
|||
"description": "conversation > in select mode > composition area actions > forward selected messsages action > accessibility label"
|
||||
},
|
||||
"icu:SelectModeActions__confirmDelete--title": {
|
||||
"messageformat": "Delete {count, plural, one {message} other {# messages}}",
|
||||
"messageformat": "Delete {count, plural, one {# message} other {# messages}}?",
|
||||
"description": "conversation > in select mode > composition area actions > delete selected messages > confirmation modal > title"
|
||||
},
|
||||
"icu:SelectModeActions__confirmDelete--description": {
|
||||
"messageformat": "This message will be deleted from this device.",
|
||||
"description": "conversation > in select mode > composition area actions > delete selected messages > confirmation modal > message"
|
||||
},
|
||||
"icu:SelectModeActions__confirmDelete--confirm": {
|
||||
"messageformat": "Delete for me",
|
||||
"description": "conversation > in select mode > composition area actions > delete selected messages > confirmation modal > button"
|
||||
|
|
|
@ -107,14 +107,15 @@ export default function SelectModeActions({
|
|||
},
|
||||
]}
|
||||
dialogName="TimelineMessage/deleteMessage"
|
||||
title={i18n('icu:SelectModeActions__confirmDelete--title', {
|
||||
count: selectedMessageIds.length,
|
||||
})}
|
||||
i18n={i18n}
|
||||
onClose={() => {
|
||||
setConfirmDelete(false);
|
||||
}}
|
||||
>
|
||||
{i18n('icu:SelectModeActions__confirmDelete--title', {
|
||||
count: selectedMessageIds.length,
|
||||
})}
|
||||
{i18n('icu:SelectModeActions__confirmDelete--description')}
|
||||
</ConfirmationDialog>
|
||||
)}
|
||||
</>
|
||||
|
|
Loading…
Reference in a new issue