i18n UnsupportedFileTypeToast
// FREEBIE
This commit is contained in:
parent
42f15011fa
commit
47e33a14ac
2 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,7 @@
|
||||||
{
|
{
|
||||||
|
"unsupportedFileType": {
|
||||||
|
"message": "Unsupported file type"
|
||||||
|
},
|
||||||
"fileSizeWarning": {
|
"fileSizeWarning": {
|
||||||
"message": "Sorry, the selected file exceeds message size restrictions."
|
"message": "Sorry, the selected file exceeds message size restrictions."
|
||||||
},
|
},
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
Whisper.UnsupportedFileTypeToast = Whisper.ToastView.extend({
|
Whisper.UnsupportedFileTypeToast = Whisper.ToastView.extend({
|
||||||
template: "Unsupported file type"
|
template: i18n('unsupportedFileType')
|
||||||
});
|
});
|
||||||
|
|
||||||
Whisper.FileInputView = Backbone.View.extend({
|
Whisper.FileInputView = Backbone.View.extend({
|
||||||
|
|
Loading…
Reference in a new issue