messages_zh.min.js 1.4 KB

12345678910111213141516171819202122232425262728
  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 fa-times-circle'></i> ";
  8. a.extend(a.validator.messages, {
  9. required: icon + "必填",
  10. remote: icon + "请修正此栏位",
  11. email: icon + "请输入有效的电子邮件",
  12. url: icon + "请输入有效的网址",
  13. date: icon + "请输入有效的日期",
  14. dateISO: icon + "请输入有效的日期 (YYYY-MM-DD)",
  15. number: icon + "请输入正确的数字",
  16. digits: icon + "只能输入数字",
  17. creditcard: icon + "请输入有效的信用卡号码",
  18. equalTo: icon + "你的输入不相同",
  19. extension: icon + "请输入有效的后缀",
  20. maxlength: a.validator.format(icon + "最多 {0} 个字"),
  21. minlength: a.validator.format(icon + "最少 {0} 个字"),
  22. rangelength: a.validator.format(icon + "请输入长度为 {0} 至 {1} 之间的字串"),
  23. range: a.validator.format(icon + "请输入 {0} 至 {1} 之间的数值"),
  24. max: a.validator.format(icon + "请输入不大于 {0} 的数值"),
  25. min: a.validator.format(icon + "请输入不小于 {0} 的数值")
  26. })
  27. });