Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

177 linhas
9.3 KiB

  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Validation Language Lines
  6. |--------------------------------------------------------------------------
  7. |
  8. | The following language lines contain the default error messages used by
  9. | the validator class. Some of these rules have multiple versions such
  10. | as the size rules. Feel free to tweak each of these messages here.
  11. |
  12. */
  13. 'accepted' => 'The :attribute must be accepted.',
  14. 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
  15. 'active_url' => 'The :attribute is not a valid URL.',
  16. 'after' => 'The :attribute must be a date after :date.',
  17. 'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
  18. 'alpha' => 'The :attribute must only contain letters.',
  19. 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
  20. 'alpha_num' => 'The :attribute must only contain letters and numbers.',
  21. 'array' => 'The :attribute must be an array.',
  22. 'before' => 'The :attribute must be a date before :date.',
  23. 'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
  24. 'between' => [
  25. 'array' => 'The :attribute must have between :min and :max items.',
  26. 'file' => 'The :attribute must be between :min and :max kilobytes.',
  27. 'numeric' => 'The :attribute must be between :min and :max.',
  28. 'string' => 'The :attribute must be between :min and :max characters.',
  29. ],
  30. 'boolean' => 'The :attribute field must be true or false.',
  31. 'confirmed' => 'The :attribute confirmation does not match.',
  32. 'current_password' => 'The password is incorrect.',
  33. 'date' => 'The :attribute is not a valid date.',
  34. 'date_equals' => 'The :attribute must be a date equal to :date.',
  35. 'date_format' => 'The :attribute does not match the format :format.',
  36. 'declined' => 'The :attribute must be declined.',
  37. 'declined_if' => 'The :attribute must be declined when :other is :value.',
  38. 'different' => 'The :attribute and :other must be different.',
  39. 'digits' => 'The :attribute must be :digits digits.',
  40. 'digits_between' => 'The :attribute must be between :min and :max digits.',
  41. 'dimensions' => 'The :attribute has invalid image dimensions.',
  42. 'distinct' => 'The :attribute field has a duplicate value.',
  43. 'doesnt_end_with' => 'The :attribute may not end with one of the following: :values.',
  44. 'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.',
  45. 'email' => 'The :attribute must be a valid email address.',
  46. 'ends_with' => 'The :attribute must end with one of the following: :values.',
  47. 'enum' => 'The selected :attribute is invalid.',
  48. 'exists' => 'The selected :attribute is invalid.',
  49. 'file' => 'The :attribute must be a file.',
  50. 'filled' => 'The :attribute field must have a value.',
  51. 'gt' => [
  52. 'array' => 'The :attribute must have more than :value items.',
  53. 'file' => 'The :attribute must be greater than :value kilobytes.',
  54. 'numeric' => 'The :attribute must be greater than :value.',
  55. 'string' => 'The :attribute must be greater than :value characters.',
  56. ],
  57. 'gte' => [
  58. 'array' => 'The :attribute must have :value items or more.',
  59. 'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
  60. 'numeric' => 'The :attribute must be greater than or equal to :value.',
  61. 'string' => 'The :attribute must be greater than or equal to :value characters.',
  62. ],
  63. 'image' => 'The :attribute must be an image.',
  64. 'in' => 'The selected :attribute is invalid.',
  65. 'in_array' => 'The :attribute field does not exist in :other.',
  66. 'integer' => 'The :attribute must be an integer.',
  67. 'ip' => 'The :attribute must be a valid IP address.',
  68. 'ipv4' => 'The :attribute must be a valid IPv4 address.',
  69. 'ipv6' => 'The :attribute must be a valid IPv6 address.',
  70. 'json' => 'The :attribute must be a valid JSON string.',
  71. 'lowercase' => 'The :attribute must be lowercase.',
  72. 'lt' => [
  73. 'array' => 'The :attribute must have less than :value items.',
  74. 'file' => 'The :attribute must be less than :value kilobytes.',
  75. 'numeric' => 'The :attribute must be less than :value.',
  76. 'string' => 'The :attribute must be less than :value characters.',
  77. ],
  78. 'lte' => [
  79. 'array' => 'The :attribute must not have more than :value items.',
  80. 'file' => 'The :attribute must be less than or equal to :value kilobytes.',
  81. 'numeric' => 'The :attribute must be less than or equal to :value.',
  82. 'string' => 'The :attribute must be less than or equal to :value characters.',
  83. ],
  84. 'mac_address' => 'The :attribute must be a valid MAC address.',
  85. 'max' => [
  86. 'array' => 'The :attribute must not have more than :max items.',
  87. 'file' => 'The :attribute must not be greater than :max kilobytes.',
  88. 'numeric' => 'The :attribute must not be greater than :max.',
  89. 'string' => 'The :attribute must not be greater than :max characters.',
  90. ],
  91. 'max_digits' => 'The :attribute must not have more than :max digits.',
  92. 'mimes' => 'The :attribute must be a file of type: :values.',
  93. 'mimetypes' => 'The :attribute must be a file of type: :values.',
  94. 'min' => [
  95. 'array' => 'The :attribute must have at least :min items.',
  96. 'file' => 'The :attribute must be at least :min kilobytes.',
  97. 'numeric' => 'The :attribute must be at least :min.',
  98. 'string' => 'The :attribute must be at least :min characters.',
  99. ],
  100. 'min_digits' => 'The :attribute must have at least :min digits.',
  101. 'multiple_of' => 'The :attribute must be a multiple of :value.',
  102. 'not_in' => 'The selected :attribute is invalid.',
  103. 'not_regex' => 'The :attribute format is invalid.',
  104. 'numeric' => 'The :attribute must be a number.',
  105. 'password' => [
  106. 'letters' => 'The :attribute must contain at least one letter.',
  107. 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
  108. 'numbers' => 'The :attribute must contain at least one number.',
  109. 'symbols' => 'The :attribute must contain at least one symbol.',
  110. 'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
  111. ],
  112. 'present' => 'The :attribute field must be present.',
  113. 'prohibited' => 'The :attribute field is prohibited.',
  114. 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
  115. 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
  116. 'prohibits' => 'The :attribute field prohibits :other from being present.',
  117. 'regex' => 'The :attribute format is invalid.',
  118. 'required' => 'The :attribute field is required.',
  119. 'required_array_keys' => 'The :attribute field must contain entries for: :values.',
  120. 'required_if' => 'The :attribute field is required when :other is :value.',
  121. 'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
  122. 'required_unless' => 'The :attribute field is required unless :other is in :values.',
  123. 'required_with' => 'The :attribute field is required when :values is present.',
  124. 'required_with_all' => 'The :attribute field is required when :values are present.',
  125. 'required_without' => 'The :attribute field is required when :values is not present.',
  126. 'required_without_all' => 'The :attribute field is required when none of :values are present.',
  127. 'same' => 'The :attribute and :other must match.',
  128. 'size' => [
  129. 'array' => 'The :attribute must contain :size items.',
  130. 'file' => 'The :attribute must be :size kilobytes.',
  131. 'numeric' => 'The :attribute must be :size.',
  132. 'string' => 'The :attribute must be :size characters.',
  133. ],
  134. 'starts_with' => 'The :attribute must start with one of the following: :values.',
  135. 'string' => 'The :attribute must be a string.',
  136. 'timezone' => 'The :attribute must be a valid timezone.',
  137. 'unique' => 'The :attribute has already been taken.',
  138. 'uploaded' => 'The :attribute failed to upload.',
  139. 'uppercase' => 'The :attribute must be uppercase.',
  140. 'url' => 'The :attribute must be a valid URL.',
  141. 'uuid' => 'The :attribute must be a valid UUID.',
  142. /*
  143. |--------------------------------------------------------------------------
  144. | Custom Validation Language Lines
  145. |--------------------------------------------------------------------------
  146. |
  147. | Here you may specify custom validation messages for attributes using the
  148. | convention "attribute.rule" to name the lines. This makes it quick to
  149. | specify a specific custom language line for a given attribute rule.
  150. |
  151. */
  152. 'custom' => [
  153. 'attribute-name' => [
  154. 'rule-name' => 'custom-message',
  155. ],
  156. ],
  157. /*
  158. |--------------------------------------------------------------------------
  159. | Custom Validation Attributes
  160. |--------------------------------------------------------------------------
  161. |
  162. | The following language lines are used to swap our attribute placeholder
  163. | with something more reader friendly such as "E-Mail Address" instead
  164. | of "email". This simply helps us make our message more expressive.
  165. |
  166. */
  167. 'attributes' => [],
  168. ];