You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

messages_es.js 1.8KB

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