remove email confirm msg

This commit is contained in:
Yuri Kuznetsov
2020-03-13 11:55:00 +02:00
parent af9e77a5bb
commit f4e58d9bee
3 changed files with 5 additions and 3 deletions
@@ -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": {
+1 -1
View File
@@ -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');
+2 -2
View File
@@ -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);