validation.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. return array(
  3. /**
  4. * The validation error messages.
  5. *
  6. * These error messages will be used by the Validator class if no
  7. * other messages are provided by the developer.
  8. */
  9. "accepted" => "The :attribute must be accepted.",
  10. "active_url" => "The :attribute does not exist.",
  11. "alpha" => "The :attribute may only contain letters.",
  12. "alpha_dash" => "The :attribute may only contain letters, numbers, dashes, and underscores.",
  13. "alpha_num" => "The :attribute may only contain letters and numbers.",
  14. "between" => "The :attribute must be between :min - :max.",
  15. "confirmed" => "The :attribute confirmation does not match.",
  16. "email" => "The :attribute format is invalid.",
  17. "image" => "The :attribute must be an image.",
  18. "in" => "The selected :attribute is invalid.",
  19. "integer" => "The :attribute must be an integer.",
  20. "max" => "The :attribute must be less than :max.",
  21. "mimes" => "The :attribute must be a file of type: :values.",
  22. "min" => "The :attribute must be at least :min.",
  23. "not_in" => "The selected :attribute is invalid.",
  24. "numeric" => "The :attribute must be a number.",
  25. "required" => "The :attribute field is required.",
  26. "size" => "The :attribute must be :size.",
  27. "unique" => "The :attribute has already been taken.",
  28. "url" => "The :attribute format is invalid.",
  29. /**
  30. * The following words are appended to the "size" messages when
  31. * applicable, such as when validating string lengths or the
  32. * size of file uploads.
  33. */
  34. "characters" => "characters",
  35. "kilobytes" => "kilobytes",
  36. );