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.

35 lines
1.3KB

  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: VI (Vietnamese; Tiếng Việt)
  13. */
  14. $.extend( $.validator.messages, {
  15. required: "Hãy nhập.",
  16. remote: "Hãy sửa cho đúng.",
  17. email: "Hãy nhập email.",
  18. url: "Hãy nhập URL.",
  19. date: "Hãy nhập ngày.",
  20. dateISO: "Hãy nhập ngày (ISO).",
  21. number: "Hãy nhập số.",
  22. digits: "Hãy nhập chữ số.",
  23. creditcard: "Hãy nhập số thẻ tín dụng.",
  24. equalTo: "Hãy nhập thêm lần nữa.",
  25. extension: "Phần mở rộng không đúng.",
  26. maxlength: $.validator.format( "Hãy nhập từ {0} kí tự trở xuống." ),
  27. minlength: $.validator.format( "Hãy nhập từ {0} kí tự trở lên." ),
  28. rangelength: $.validator.format( "Hãy nhập từ {0} đến {1} kí tự." ),
  29. range: $.validator.format( "Hãy nhập từ {0} đến {1}." ),
  30. max: $.validator.format( "Hãy nhập từ {0} trở xuống." ),
  31. min: $.validator.format( "Hãy nhập từ {0} trở lên." )
  32. } );
  33. return $;
  34. }));