i18n AttachmentView

// FREEBIE
This commit is contained in:
lilia 2015-12-25 21:12:17 -08:00
parent 47e33a14ac
commit ccdbfc3e12
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,11 @@
{
"unsupportedAttachment": {
"message": "Unsupported attachment type. Click to save.",
"description": "Displayed for incoming unsupported attachment"
},
"unsupportedFileType": {
"message": "Unsupported file type"
"message": "Unsupported file type",
"description": "Displayed for outgoing unsupported attachment"
},
"fileSizeWarning": {
"message": "Sorry, the selected file exceeds message size restrictions."

View file

@ -8,7 +8,7 @@
tagName: 'a',
initialize: function(dataUrl) {
this.dataUrl = dataUrl;
this.$el.text("Unsupported attachment type. Click to save.");
this.$el.text(i18n('unsupportedAttachment'));
},
events: {
'click': 'open'