2 * Copyright 2016-2017 ZTE, Inc. and others.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 (function( factory ) {
17 if ( typeof define === "function" && define.amd ) {
18 define( ["jquery", "../jquery.validate"], factory );
25 * Translated default messages for the jQuery validation plugin.
26 * Locale: ES (Spanish; Español)
28 $.extend($.validator.messages, {
29 required: "Este campo es obligatorio.",
30 remote: "Por favor, rellena este campo.",
31 email: "Por favor, escribe una dirección de correo válida.",
32 url: "Por favor, escribe una URL válida.",
33 date: "Por favor, escribe una fecha válida.",
34 dateISO: "Por favor, escribe una fecha (ISO) válida.",
35 number: "Por favor, escribe un número válido.",
36 digits: "Por favor, escribe sólo dígitos.",
37 creditcard: "Por favor, escribe un número de tarjeta válido.",
38 equalTo: "Por favor, escribe el mismo valor de nuevo.",
39 extension: "Por favor, escribe un valor con una extensión aceptada.",
40 maxlength: $.validator.format("Por favor, no escribas más de {0} caracteres."),
41 minlength: $.validator.format("Por favor, no escribas menos de {0} caracteres."),
42 rangelength: $.validator.format("Por favor, escribe un valor entre {0} y {1} caracteres."),
43 range: $.validator.format("Por favor, escribe un valor entre {0} y {1}."),
44 max: $.validator.format("Por favor, escribe un valor menor o igual a {0}."),
45 min: $.validator.format("Por favor, escribe un valor mayor o igual a {0}."),
46 nifES: "Por favor, escribe un NIF válido.",
47 nieES: "Por favor, escribe un NIE válido.",
48 cifES: "Por favor, escribe un CIF válido."