i18n AttachmentView

// FREEBIE
pull/749/head
lilia 9 years ago
parent 47e33a14ac
commit ccdbfc3e12

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

@ -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'

Loading…
Cancel
Save