Created
October 27, 2016 08:37
-
-
Save ValeriaVG/81f1936284e0afff1139bfe6c6833560 to your computer and use it in GitHub Desktop.
Dropzone Custom upload form russian language
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dropzone.autoDiscover = false; | |
$(function() { | |
// Now that the DOM is fully loaded, create the dropzone, and setup the | |
// event listeners | |
var myDropzone = new Dropzone("#my-dropzone", { | |
dictDefaultMessage: "Перетащите файлы для загрузки в это поле", | |
dictFallbackMessage: "К сожалению, ваш браузер не поддерживает Drag'n'Drop", | |
dictFallbackText: "Пожалуйста, воспользуйтесь старой доброй формой для загрузки", | |
dictFileTooBig: "Файл слишком большой({{filesize}}MB). Максимальный допустимый размер файла {{maxFilesize}}MB", | |
dictInvalidFileType: "Вы не можете загружать файлы этого типа.", | |
dictResponseError: "Произошла ошибка при загрузке файла. Попробуйте еще раз. Если ошибка будет повторяться - передайте эту информацию администратору сайта: Код ошибки {{statusCode}}", | |
dictCancelUpload: "Отменить загрузку", | |
dictCancelUploadConfirmation: "Уверены, что хотите прервать загрузку?", | |
dictRemoveFile: "Удалить файл", | |
dictRemoveFileConfirmation: null, | |
dictMaxFilesExceeded: "Превышен лимит количества файлов. Вы можете загрузить не более {{maxFiles}}" | |
}); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment