diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 6416b002..8360e6ac 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1,4 +1,7 @@ { + "unsupportedFileType": { + "message": "Unsupported file type" + }, "fileSizeWarning": { "message": "Sorry, the selected file exceeds message size restrictions." }, diff --git a/js/views/file_input_view.js b/js/views/file_input_view.js index f09c4777..11a534d4 100644 --- a/js/views/file_input_view.js +++ b/js/views/file_input_view.js @@ -16,7 +16,7 @@ } }); Whisper.UnsupportedFileTypeToast = Whisper.ToastView.extend({ - template: "Unsupported file type" + template: i18n('unsupportedFileType') }); Whisper.FileInputView = Backbone.View.extend({