i18n 'Permanently delete this conversation?'

// FREEBIE
This commit is contained in:
2-4601 2016-04-23 21:35:04 +03:00 committed by lilia
parent b9ecdbf402
commit d861797d66
2 changed files with 5 additions and 1 deletions

View file

@ -139,6 +139,10 @@
"message": "Delete Messages",
"description": "Menu item for deleting messages, title case."
},
"deleteConversationConfirmation": {
"message": "Permanently delete this conversation?",
"description": "Confirmation dialog text that asks the user if they really wish to delete the conversation. Answer buttons use the strings 'ok' and 'cancel'. The deletion is permanent, i.e. it cannot be undone."
},
"sessionEnded": {
"message": "Secure session reset",
"description": "This is a past tense, informational message. In other words, your secure session has been reset."

View file

@ -232,7 +232,7 @@
},
destroyMessages: function(e) {
this.confirm("Permanently delete this conversation?").then(function() {
this.confirm(i18n('deleteConversationConfirmation')).then(function() {
this.model.destroyMessages();
this.remove();
}.bind(this)).catch(function() {