diff --git a/_locales/en/messages.json b/_locales/en/messages.json index e5d857f5c4b..2de6f6edec7 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -269,5 +269,9 @@ "upgrade": { "message": "Upgrade", "description": "Label text for button to upgrade the app to the latest version" + }, + "mediaMessage": { + "message": "Media message", + "description": "Description of a message that has an attachment and no text, displayed in the conversation list as a preview." } } diff --git a/js/models/messages.js b/js/models/messages.js index 1cffc13ea5e..ceb35ec523f 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -73,7 +73,7 @@ return description; } if (this.get('attachments').length > 0) { - return 'Media message'; + return i18n('mediaMessage'); } return '';