validation.php 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Validation Language Lines
  5. |--------------------------------------------------------------------------
  6. |
  7. | The following language lines contain the default error messages used by
  8. | the validator class. Some of these rules have multiple versions such
  9. | as the size rules. Feel free to tweak each of these messages here.
  10. |
  11. */
  12. return [
  13. 'accepted' => 'O campo :attribute deve ser aceito.',
  14. 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
  15. 'active_url' => 'O campo :attribute deve conter uma URL válida.',
  16. 'after' => 'O campo :attribute deve conter uma data posterior a :date.',
  17. 'after_or_equal' => 'O campo :attribute deve conter uma data superior ou igual a :date.',
  18. 'alpha' => 'O campo :attribute deve conter apenas letras.',
  19. 'alpha_dash' => 'O campo :attribute deve conter apenas letras, números e traços.',
  20. 'alpha_num' => 'O campo :attribute deve conter apenas letras e números .',
  21. 'array' => 'O campo :attribute deve conter um array.',
  22. 'attached' => 'Este :attribute já está anexado.',
  23. 'before' => 'O campo :attribute deve conter uma data anterior a :date.',
  24. 'before_or_equal' => 'O campo :attribute deve conter uma data inferior ou igual a :date.',
  25. 'between' => [
  26. 'array' => 'O campo :attribute deve conter de :min a :max itens.',
  27. 'file' => 'O campo :attribute deve conter um arquivo de :min a :max kilobytes.',
  28. 'numeric' => 'O campo :attribute deve conter um número entre :min e :max.',
  29. 'string' => 'O campo :attribute deve conter entre :min a :max caracteres.',
  30. ],
  31. 'boolean' => 'O campo :attribute deve conter o valor verdadeiro ou falso.',
  32. 'confirmed' => 'A confirmação para o campo :attribute não coincide.',
  33. 'current_password' => 'The password is incorrect.',
  34. 'date' => 'O campo :attribute não contém uma data válida.',
  35. 'date_equals' => 'O campo :attribute deve ser uma data igual a :date.',
  36. 'date_format' => 'A data informada para o campo :attribute não respeita o formato :format.',
  37. 'declined' => 'The :attribute must be declined.',
  38. 'declined_if' => 'The :attribute must be declined when :other is :value.',
  39. 'different' => 'Os campos :attribute e :other devem conter valores diferentes.',
  40. 'digits' => 'O campo :attribute deve conter :digits dígitos.',
  41. 'digits_between' => 'O campo :attribute deve conter entre :min a :max dígitos.',
  42. 'dimensions' => 'O valor informado para o campo :attribute não é uma dimensão de imagem válida.',
  43. 'distinct' => 'O campo :attribute contém um valor duplicado.',
  44. 'email' => 'O campo :attribute não contém um endereço de email válido.',
  45. 'ends_with' => 'O campo :attribute deve terminar com um dos seguintes valores: :values',
  46. 'exists' => 'O valor selecionado para o campo :attribute é inválido.',
  47. 'file' => 'O campo :attribute deve conter um arquivo.',
  48. 'filled' => 'O campo :attribute é obrigatório.',
  49. 'gt' => [
  50. 'array' => 'O campo :attribute deve ter mais que :value itens.',
  51. 'file' => 'O arquivo :attribute deve ser maior que :value kilobytes.',
  52. 'numeric' => 'O campo :attribute deve ser maior que :value.',
  53. 'string' => 'O campo :attribute deve ser maior que :value caracteres.',
  54. ],
  55. 'gte' => [
  56. 'array' => 'O campo :attribute deve ter :value itens ou mais.',
  57. 'file' => 'O arquivo :attribute deve ser maior ou igual a :value kilobytes.',
  58. 'numeric' => 'O campo :attribute deve ser maior ou igual a :value.',
  59. 'string' => 'O campo :attribute deve ser maior ou igual a :value caracteres.',
  60. ],
  61. 'image' => 'O campo :attribute deve conter uma imagem.',
  62. 'in' => 'O campo :attribute não contém um valor válido.',
  63. 'in_array' => 'O campo :attribute não existe em :other.',
  64. 'integer' => 'O campo :attribute deve conter um número inteiro.',
  65. 'ip' => 'O campo :attribute deve conter um IP válido.',
  66. 'ipv4' => 'O campo :attribute deve conter um IPv4 válido.',
  67. 'ipv6' => 'O campo :attribute deve conter um IPv6 válido.',
  68. 'json' => 'O campo :attribute deve conter uma string JSON válida.',
  69. 'lt' => [
  70. 'array' => 'O campo :attribute deve ter menos que :value itens.',
  71. 'file' => 'O arquivo :attribute ser menor que :value kilobytes.',
  72. 'numeric' => 'O campo :attribute deve ser menor que :value.',
  73. 'string' => 'O campo :attribute deve ser menor que :value caracteres.',
  74. ],
  75. 'lte' => [
  76. 'array' => 'O campo :attribute não deve ter mais que :value itens.',
  77. 'file' => 'O arquivo :attribute ser menor ou igual a :value kilobytes.',
  78. 'numeric' => 'O campo :attribute deve ser menor ou igual a :value.',
  79. 'string' => 'O campo :attribute deve ser menor ou igual a :value caracteres.',
  80. ],
  81. 'max' => [
  82. 'array' => 'O campo :attribute deve conter no máximo :max itens.',
  83. 'file' => 'O campo :attribute não pode conter um arquivo com mais de :max kilobytes.',
  84. 'numeric' => 'O campo :attribute não pode conter um valor superior a :max.',
  85. 'string' => 'O campo :attribute não pode conter mais de :max caracteres.',
  86. ],
  87. 'mimes' => 'O campo :attribute deve conter um arquivo do tipo: :values.',
  88. 'mimetypes' => 'O campo :attribute deve conter um arquivo do tipo: :values.',
  89. 'min' => [
  90. 'array' => 'O campo :attribute deve conter no mínimo :min itens.',
  91. 'file' => 'O campo :attribute deve conter um arquivo com no mínimo :min kilobytes.',
  92. 'numeric' => 'O campo :attribute deve conter um número superior ou igual a :min.',
  93. 'string' => 'O campo :attribute deve conter no mínimo :min caracteres.',
  94. ],
  95. 'multiple_of' => 'O :attribute deve ser um múltiplo de :value',
  96. 'not_in' => 'O campo :attribute contém um valor inválido.',
  97. 'not_regex' => 'O formato do valor :attribute é inválido.',
  98. 'numeric' => 'O campo :attribute deve conter um valor numérico.',
  99. 'password' => 'A senha está incorreta.',
  100. 'present' => 'O campo :attribute deve estar presente.',
  101. 'prohibited' => 'O campo :attribute é proibido.',
  102. 'prohibited_if' => 'O campo :attribute é proibido quando :other é :value.',
  103. 'prohibited_unless' => 'O campo :attribute é proibido a menos que :other esteja em :values.',
  104. 'prohibits' => 'The :attribute field prohibits :other from being present.',
  105. 'regex' => 'O formato do valor informado no campo :attribute é inválido.',
  106. 'relatable' => 'Este :attribute pode não estar associado a este recurso.',
  107. 'required' => 'O campo :attribute é obrigatório.',
  108. 'required_if' => 'O campo :attribute é obrigatório quando o valor do campo :other é igual a :value.',
  109. 'required_unless' => 'O campo :attribute é obrigatório a menos que :other esteja presente em :values.',
  110. 'required_with' => 'O campo :attribute é obrigatório quando :values está presente.',
  111. 'required_with_all' => 'O campo :attribute é obrigatório quando um dos :values está presente.',
  112. 'required_without' => 'O campo :attribute é obrigatório quando :values não está presente.',
  113. 'required_without_all' => 'O campo :attribute é obrigatório quando nenhum dos :values está presente.',
  114. 'same' => 'Os campos :attribute e :other devem conter valores iguais.',
  115. 'size' => [
  116. 'array' => 'O campo :attribute deve conter :size itens.',
  117. 'file' => 'O campo :attribute deve conter um arquivo com o tamanho de :size kilobytes.',
  118. 'numeric' => 'O campo :attribute deve conter o número :size.',
  119. 'string' => 'O campo :attribute deve conter :size caracteres.',
  120. ],
  121. 'starts_with' => 'O campo :attribute deve começar com um dos seguintes valores: :values',
  122. 'string' => 'O campo :attribute deve ser uma string.',
  123. 'timezone' => 'O campo :attribute deve conter um fuso horário válido.',
  124. 'unique' => 'O valor informado para o campo :attribute já está em uso.',
  125. 'uploaded' => 'Falha no Upload do arquivo :attribute.',
  126. 'url' => 'O formato da URL informada para o campo :attribute é inválido.',
  127. 'uuid' => 'O campo :attribute deve ser um UUID válido.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'custom-message',
  131. ],
  132. ],
  133. ];