remove email confirm msg
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user