mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Delete Sync: Show different text when deleting entire conversation
This commit is contained in:
@@ -957,6 +957,14 @@ function DeleteMessagesConfirmationDialog({
|
||||
);
|
||||
}
|
||||
|
||||
const dialogBody = isDeleteSyncSendEnabled
|
||||
? i18n(
|
||||
'icu:ConversationHeader__DeleteMessagesInConversationConfirmation__description-with-sync'
|
||||
)
|
||||
: i18n(
|
||||
'icu:ConversationHeader__DeleteMessagesInConversationConfirmation__description'
|
||||
);
|
||||
|
||||
return (
|
||||
<ConfirmationDialog
|
||||
dialogName="ConversationHeader.destroyMessages"
|
||||
@@ -973,9 +981,7 @@ function DeleteMessagesConfirmationDialog({
|
||||
i18n={i18n}
|
||||
onClose={onClose}
|
||||
>
|
||||
{i18n(
|
||||
'icu:ConversationHeader__DeleteMessagesInConversationConfirmation__description'
|
||||
)}
|
||||
{dialogBody}
|
||||
</ConfirmationDialog>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user