en.js 1.4 KB

123456789101112131415161718192021222324252627282930
  1. // This is included with the Parsley library itself,
  2. // thus there is no use in adding it to your project.
  3. Parsley.addMessages('en', {
  4. defaultMessage: "This value seems to be invalid.",
  5. type: {
  6. email: "This value should be a valid email.",
  7. url: "This value should be a valid url.",
  8. number: "This value should be a valid number.",
  9. integer: "This value should be a valid integer.",
  10. digits: "This value should be digits.",
  11. alphanum: "This value should be alphanumeric."
  12. },
  13. notblank: "This value should not be blank.",
  14. required: "This value is required.",
  15. pattern: "This value seems to be invalid.",
  16. min: "This value should be greater than or equal to %s.",
  17. max: "This value should be lower than or equal to %s.",
  18. range: "This value should be between %s and %s.",
  19. minlength: "This value is too short. It should have %s characters or more.",
  20. maxlength: "This value is too long. It should have %s characters or fewer.",
  21. length: "This value length is invalid. It should be between %s and %s characters long.",
  22. mincheck: "You must select at least %s choices.",
  23. maxcheck: "You must select %s choices or fewer.",
  24. check: "You must select between %s and %s choices.",
  25. equalto: "This value should be the same."
  26. });
  27. Parsley.setLocale('en');