Copy change for multi-select delete

This commit is contained in:
Jamie Kyle 2023-03-21 17:45:35 -07:00 committed by GitHub
parent 7e05893e1a
commit cfb6eff27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View file

@ -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"

View file

@ -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>
)}
</>