validation.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. return array(
  3. /*
  4. |--------------------------------------------------------------------------
  5. | General Validation Messages
  6. |--------------------------------------------------------------------------
  7. */
  8. "acceptance_of" => "The :attribute must be accepted.",
  9. "confirmation_of" => "The :attribute confirmation does not match.",
  10. "exclusion_of" => "The :attribute value is invalid.",
  11. "format_of" => "The :attribute format is invalid.",
  12. "inclusion_of" => "The :attribute value is invalid.",
  13. "presence_of" => "The :attribute can't be empty.",
  14. "uniqueness_of" => "The :attribute has already been taken.",
  15. "with_callback" => "The :attribute is invalid.",
  16. /*
  17. |--------------------------------------------------------------------------
  18. | Numericality_Of Validation Messages
  19. |--------------------------------------------------------------------------
  20. */
  21. "number_not_valid" => "The :attribute must be a valid number.",
  22. "number_not_integer" => "The :attribute must be an integer.",
  23. "number_wrong_size" => "The :attribute must be :size.",
  24. "number_too_big" => "The :attribute must be no more than :max.",
  25. "number_too_small" => "The :attribute must be at least :min.",
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Length_Of Validation Messages
  29. |--------------------------------------------------------------------------
  30. */
  31. "string_wrong_size" => "The :attribute must be :size characters.",
  32. "string_too_big" => "The :attribute must be no more than :max characters.",
  33. "string_too_small" => "The :attribute must be at least :min characters.",
  34. /*
  35. |--------------------------------------------------------------------------
  36. | Upload_Of Validation Messages
  37. |--------------------------------------------------------------------------
  38. */
  39. "file_wrong_type" => "The :attribute is an invalid file type.",
  40. "file_too_big" => "The :attribute exceeds size limit of :maxkb.",
  41. );