diff --git a/application/Espo/Resources/i18n/en_US/Email.json b/application/Espo/Resources/i18n/en_US/Email.json index 98e8ec889a..36f78faf14 100644 --- a/application/Espo/Resources/i18n/en_US/Email.json +++ b/application/Espo/Resources/i18n/en_US/Email.json @@ -113,6 +113,8 @@ "emailSent": "Email has been sent", "savedAsDraft": "Saved as draft", "sendConfirm": "Send the email?", + "removeSelectedRecordsConfirmation": "Are you sure you want to remove selected emails?\n\nThey will be removed for other users too.", + "removeRecordConfirmation": "Are you sure you want to remove the email?\n\nIt will be removed for other users too.", "confirmInsertTemplate": "The email body will be lost. Are you sure you want to insert the template?" }, "presetFilters": { diff --git a/client/src/views/record/detail.js b/client/src/views/record/detail.js index 33202f7247..d3b384e2db 100644 --- a/client/src/views/record/detail.js +++ b/client/src/views/record/detail.js @@ -678,7 +678,7 @@ define('views/record/detail', ['views/record/base', 'view-record-helper'], funct delete: function () { this.confirm({ - message: this.translate('removeRecordConfirmation', 'messages'), + message: this.translate('removeRecordConfirmation', 'messages', this.scope), confirmText: this.translate('Remove') }, function () { this.trigger('before:delete'); diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js index ae3789632c..533f83c363 100644 --- a/client/src/views/record/list.js +++ b/client/src/views/record/list.js @@ -632,7 +632,7 @@ define('views/record/list', 'view', function (Dep) { var deletedCount = 0; this.confirm({ - message: this.translate('removeSelectedRecordsConfirmation', 'messages'), + message: this.translate('removeSelectedRecordsConfirmation', 'messages', this.scope), confirmText: this.translate('Remove') }, function () { this.notify('Removing...'); @@ -1761,7 +1761,7 @@ define('views/record/list', 'view', function (Dep) { } this.confirm({ - message: this.translate('removeRecordConfirmation', 'messages'), + message: this.translate('removeRecordConfirmation', 'messages', this.scope), confirmText: this.translate('Remove') }, function () { this.collection.trigger('model-removing', id);