messages_zh.min.js 1.4 KB

123456789101112131415161718192021222324252627282930
  1. /*! jQuery Validation Plugin - v1.13.1 - 10/14/2014
  2. * http://jqueryvalidation.org/
  3. * Copyright (c) 2014 Jörn Zaefferer; Licensed MIT */
  4. ! function (a) {
  5. "function" == typeof define && define.amd ? define(["jquery", "jquery.validate.min"], a) : a(jQuery)
  6. }(function (a) {
  7. var icon = "<i class='fa'></i> ";
  8. // var icon = "<i class='fa fa-times-circle'></i> ";
  9. a.extend(a.validator.messages, {
  10. required:'',
  11. // required: icon + "必填",
  12. remote: icon + "请修正此栏位",
  13. email: icon + "请输入有效的电子邮件",
  14. url: icon + "请输入有效的网址",
  15. date: icon + "请输入有效的日期",
  16. dateISO: icon + "请输入有效的日期 (YYYY-MM-DD)",
  17. number: icon + "请输入正确的数字",
  18. digits: icon + "只能输入数字",
  19. creditcard: icon + "请输入有效的信用卡号码",
  20. equalTo: icon + "你的输入不相同",
  21. extension: icon + "请输入有效的后缀",
  22. maxlength: a.validator.format(icon + "最多 {0} 个字"),
  23. minlength: a.validator.format(icon + "最少 {0} 个字"),
  24. rangelength: a.validator.format(icon + "请输入长度为 {0} 至 {1} 之间的字串"),
  25. range: a.validator.format(icon + "请输入 {0} 至 {1} 之间的数值"),
  26. max: a.validator.format(icon + "请输入不大于 {0} 的数值"),
  27. min: a.validator.format(icon + "请输入不小于 {0} 的数值")
  28. })
  29. });