Created
February 11, 2020 00:52
-
-
Save gchacaltana/70da75a3a1fd12893ed5d4ccb5b3a389 to your computer and use it in GitHub Desktop.
Settings dropify JS
This file contains hidden or 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
$('.dropify').dropify({ | |
messages: { | |
'default': 'Arrastra y suelta un archivo aquí o haz clic', | |
'replace': 'Arrastra y suelta o haz clic para reemplazar el archivo', | |
'remove': 'Eliminar', | |
'error': 'Ooops!. Ocurrió un error interno de validación' | |
}, | |
error: { | |
'fileSize': 'El archivo es demasiado grande. ({{ value }} max).', | |
'fileExtension': 'El archivo no está permitido. Solo esta permitido ({{ value }})', | |
'minWidth': 'El ancho de la imagen es demasiado pequeño. ({{ value }}px min).', | |
'maxWidth': 'El ancho de la imagen es demasiado grande. ({{ value }}}px max).', | |
'minHeight': 'La altura de la imagen es demasiado pequeña. ({{ value }}px min).', | |
'maxHeight': 'La altura de la imagen es demasiado grande. ({{ value }}px max).', | |
'imageFormat': 'El formato de imagen no está permitido. Formatos permitidos ({{ value }}).' | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment