i18n 'Media message'

Fixes #736

// FREEBIE
This commit is contained in:
lilia 2016-04-15 20:07:35 -07:00
parent 21bfb61b7a
commit dd7d72a77d
2 changed files with 5 additions and 1 deletions

View file

@ -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."
}
}

View file

@ -73,7 +73,7 @@
return description;
}
if (this.get('attachments').length > 0) {
return 'Media message';
return i18n('mediaMessage');
}
return '';