i18n AttachmentView
// FREEBIE
This commit is contained in:
parent
47e33a14ac
commit
ccdbfc3e12
2 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,11 @@
|
||||||
{
|
{
|
||||||
|
"unsupportedAttachment": {
|
||||||
|
"message": "Unsupported attachment type. Click to save.",
|
||||||
|
"description": "Displayed for incoming unsupported attachment"
|
||||||
|
},
|
||||||
"unsupportedFileType": {
|
"unsupportedFileType": {
|
||||||
"message": "Unsupported file type"
|
"message": "Unsupported file type",
|
||||||
|
"description": "Displayed for outgoing unsupported attachment"
|
||||||
},
|
},
|
||||||
"fileSizeWarning": {
|
"fileSizeWarning": {
|
||||||
"message": "Sorry, the selected file exceeds message size restrictions."
|
"message": "Sorry, the selected file exceeds message size restrictions."
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
tagName: 'a',
|
tagName: 'a',
|
||||||
initialize: function(dataUrl) {
|
initialize: function(dataUrl) {
|
||||||
this.dataUrl = dataUrl;
|
this.dataUrl = dataUrl;
|
||||||
this.$el.text("Unsupported attachment type. Click to save.");
|
this.$el.text(i18n('unsupportedAttachment'));
|
||||||
},
|
},
|
||||||
events: {
|
events: {
|
||||||
'click': 'open'
|
'click': 'open'
|
||||||
|
|
Loading…
Reference in a new issue