Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
(function( factory ) {
2
        if ( typeof define === "function" && define.amd ) {
3
                define( ["jquery", "../jquery.validate"], factory );
4
        } else {
5
                factory( jQuery );
6
        }
7
}(function( $ ) {
8
 
9
/*
10
 * Translated default messages for the jQuery validation plugin.
11
 * Locale: ES (Spanish; Español)
12
 */
13
$.extend($.validator.messages, {
14
        required: "Este campo es obligatorio.",
15
        remote: "Por favor, rellena este campo.",
16
        email: "Por favor, escribe una dirección de correo válida.",
17
        url: "Por favor, escribe una URL válida.",
18
        date: "Por favor, escribe una fecha válida.",
19
        dateISO: "Por favor, escribe una fecha (ISO) válida.",
20
        number: "Por favor, escribe un número válido.",
21
        digits: "Por favor, escribe sólo dígitos.",
22
        creditcard: "Por favor, escribe un número de tarjeta válido.",
23
        equalTo: "Por favor, escribe el mismo valor de nuevo.",
24
        extension: "Por favor, escribe un valor con una extensión aceptada.",
25
        maxlength: $.validator.format("Por favor, no escribas más de {0} caracteres."),
26
        minlength: $.validator.format("Por favor, no escribas menos de {0} caracteres."),
27
        rangelength: $.validator.format("Por favor, escribe un valor entre {0} y {1} caracteres."),
28
        range: $.validator.format("Por favor, escribe un valor entre {0} y {1}."),
29
        max: $.validator.format("Por favor, escribe un valor menor o igual a {0}."),
30
        min: $.validator.format("Por favor, escribe un valor mayor o igual a {0}."),
31
        nifES: "Por favor, escribe un NIF válido.",
32
        nieES: "Por favor, escribe un NIE válido.",
33
        cifES: "Por favor, escribe un CIF válido."
34
});
35
 
36
}));