|
|
|
@ -872,10 +872,14 @@ export class SessionConversation extends React.Component<any, State> {
|
|
|
|
|
// If removable from server, we "Unsend" - otherwise "Delete"
|
|
|
|
|
const pluralSuffix = multiple ? 's' : '';
|
|
|
|
|
const title = window.i18n(
|
|
|
|
|
isServerDeletable ? `deleteMessage${pluralSuffix}ForEveryone` : `deleteMessage${pluralSuffix}`
|
|
|
|
|
isServerDeletable
|
|
|
|
|
? `deleteMessage${pluralSuffix}ForEveryone`
|
|
|
|
|
: `deleteMessage${pluralSuffix}`
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
const okText = window.i18n(isServerDeletable ? 'deleteForEveryone' : 'delete');
|
|
|
|
|
const okText = window.i18n(
|
|
|
|
|
isServerDeletable ? 'deleteForEveryone' : 'delete'
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
window.confirmationDialog({
|
|
|
|
|
title,
|
|
|
|
|