From b9ecdbf4024361c56f81deb6499eac1873628630 Mon Sep 17 00:00:00 2001 From: 2-4601 Date: Sat, 23 Apr 2016 21:18:22 +0300 Subject: [PATCH] i18n 'Error handling incoming message' // FREEBIE --- _locales/en/messages.json | 3 +++ js/models/messages.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 2de6f6edec77..7faf77558291 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -45,6 +45,9 @@ "incomingKeyConflict": { "message": "Received message with unknown identity key. Click to process and display." }, + "incomingError": { + "message": "Error handling incoming message." + }, "unsupportedAttachment": { "message": "Unsupported attachment type. Click to save.", "description": "Displayed for incoming unsupported attachment" diff --git a/js/models/messages.js b/js/models/messages.js index 3056b103ed6b..57451d60f604 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -62,7 +62,7 @@ return i18n('incomingKeyConflict'); } if (this.isIncoming() && this.hasErrors()) { - return 'Error handling incoming message.'; + return i18n('incomingError'); } return this.get('body');