validation.php 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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' => ':attribute ha de ser acceptat.',
  14. 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
  15. 'active_url' => ':attribute no és un URL vàlid.',
  16. 'after' => ':attribute ha de ser una data posterior a :date.',
  17. 'after_or_equal' => ':attribute ha de ser una data posterior o igual a :date.',
  18. 'alpha' => ':attribute només pot contenir lletres.',
  19. 'alpha_dash' => ':attribute només pot contenir lletres, números i guions.',
  20. 'alpha_num' => ':attribute només pot contenir lletres i números.',
  21. 'array' => ':attribute ha de ser una matriu.',
  22. 'attached' => 'Aquest :attribute ja té.',
  23. 'before' => ':attribute ha de ser una data anterior a :date.',
  24. 'before_or_equal' => ':attribute ha de ser una data anterior o igual a :date.',
  25. 'between' => [
  26. 'array' => ':attribute ha de tenir entre :min - :max ítems.',
  27. 'file' => ':attribute ha de pesar entre :min - :max kilobytes.',
  28. 'numeric' => ':attribute ha d\'estar entre :min - :max.',
  29. 'string' => ':attribute ha de tenir entre :min - :max caràcters.',
  30. ],
  31. 'boolean' => 'El camp :attribute ha de ser verdader o fals',
  32. 'confirmed' => 'La confirmació de :attribute no coincideix.',
  33. 'current_password' => 'The password is incorrect.',
  34. 'date' => ':attribute no és una data vàlida.',
  35. 'date_equals' => 'El :attribute ha de ser una data igual a :date.',
  36. 'date_format' => 'El camp :attribute no concorda amb el format :format.',
  37. 'declined' => 'The :attribute must be declined.',
  38. 'declined_if' => 'The :attribute must be declined when :other is :value.',
  39. 'different' => ':attribute i :other han de ser diferents.',
  40. 'digits' => ':attribute ha de tenir :digits dígits.',
  41. 'digits_between' => ':attribute ha de tenir entre :min i :max dígits.',
  42. 'dimensions' => 'Les dimensions de la imatge :attribute no són vàlides.',
  43. 'distinct' => 'El camp :attribute té un valor duplicat.',
  44. 'email' => ':attribute no és un e-mail vàlid',
  45. 'ends_with' => 'La :attribute ha d\'acabar amb una de les següents: :values.',
  46. 'exists' => ':attribute és invàlid.',
  47. 'file' => 'El camp :attribute ha de ser un arxiu.',
  48. 'filled' => 'El camp :attribute és obligatori.',
  49. 'gt' => [
  50. 'array' => 'El :attribute ha de tenir més de :value ítems.',
  51. 'file' => 'El :attribute ha de ser superior a :value kilobytes.',
  52. 'numeric' => 'El :attribute ha de ser superior a :value.',
  53. 'string' => 'El :attribute ha de superar els :value caràcters.',
  54. ],
  55. 'gte' => [
  56. 'array' => 'El :attribute ha de tenir :value ítems o més.',
  57. 'file' => 'El :attribute ha de ser igual o superior a :value kilobytes.',
  58. 'numeric' => 'El :attribute ha de ser igual o superior a :value.',
  59. 'string' => 'El :attribute ha de ser igual o superior a :value caràcters.',
  60. ],
  61. 'image' => ':attribute ha de ser una imatge.',
  62. 'in' => ':attribute és invàlid',
  63. 'in_array' => 'El camp :attribute no existeix dintre de :other.',
  64. 'integer' => ':attribute ha de ser un nombre enter.',
  65. 'ip' => ':attribute ha de ser una adreça IP vàlida.',
  66. 'ipv4' => ':attribute ha de ser una adreça IPv4 vàlida.',
  67. 'ipv6' => ':attribute ha de ser una adreça IPv6 vàlida.',
  68. 'json' => 'El camp :attribute ha de ser una cadena JSON vàlida.',
  69. 'lt' => [
  70. 'array' => 'El :attribute ha de tenir menys de :value ítems.',
  71. 'file' => 'El :attribute ha de ser inferior a :value kilobytes.',
  72. 'numeric' => 'El :attribute ha de ser inferior a :value.',
  73. 'string' => 'El :attribute no ha de superar els :value caràcters.',
  74. ],
  75. 'lte' => [
  76. 'array' => 'El :attribute no ha de tenir més de :value ítems.',
  77. 'file' => 'El :attribute ha de ser igual o inferior a :value kilobytes.',
  78. 'numeric' => 'El :attribute ha de ser igual o inferior a :value.',
  79. 'string' => 'El :attribute ha de ser igual o inferior a :value caràcters.',
  80. ],
  81. 'max' => [
  82. 'array' => ':attribute no pot tenir més de :max ítems.',
  83. 'file' => ':attribute no pot ser més gran que :max kilobytes.',
  84. 'numeric' => ':attribute no pot ser més gran que :max.',
  85. 'string' => ':attribute no pot ser més gran que :max caràcters.',
  86. ],
  87. 'mimes' => ':attribute ha de ser un arxiu amb format: :values.',
  88. 'mimetypes' => ':attribute ha de ser un arxiu amb format: :values.',
  89. 'min' => [
  90. 'array' => ':attribute ha de tenir almenys :min ítems.',
  91. 'file' => 'El tamany de :attribute ha de ser d\'almenys :min kilobytes.',
  92. 'numeric' => 'El tamany de :attribute ha de ser d\'almenys :min.',
  93. 'string' => ':attribute ha de contenir almenys :min caràcters.',
  94. ],
  95. 'multiple_of' => 'La :attribute ha de ser un múltiple de :value',
  96. 'not_in' => ':attribute és invàlid.',
  97. 'not_regex' => 'El format de :attribute no és vàlid.',
  98. 'numeric' => ':attribute ha de ser numèric.',
  99. 'password' => 'La contrasenya és incorrecta.',
  100. 'present' => 'El camp :attribute ha d\'existir.',
  101. 'prohibited' => 'La :attribute camp està prohibit.',
  102. 'prohibited_if' => 'La :attribute camp és prohibida quan :other és :value.',
  103. 'prohibited_unless' => 'La :attribute camp és prohibida, tret que :other és en :values.',
  104. 'prohibits' => 'The :attribute field prohibits :other from being present.',
  105. 'regex' => 'El format de :attribute és invàlid.',
  106. 'relatable' => 'Aquesta :attribute no pot ser associada a aquest recurs.',
  107. 'required' => 'El camp :attribute és obligatori.',
  108. 'required_if' => 'El camp :attribute és obligatori quan :other és :value.',
  109. 'required_unless' => 'El camp :attribute és obligatori a no ser que :other sigui a :values.',
  110. 'required_with' => 'El camp :attribute és obligatori quan hi ha :values.',
  111. 'required_with_all' => 'El camp :attribute és obligatori quan hi ha :values.',
  112. 'required_without' => 'El camp :attribute és obligatori quan no hi ha :values.',
  113. 'required_without_all' => 'El camp :attribute és obligatori quan no hi ha cap valor dels següents: :values.',
  114. 'same' => ':attribute i :other han de coincidir.',
  115. 'size' => [
  116. 'array' => ':attribute ha de contenir :size ítems.',
  117. 'file' => 'El tamany de :attribute ha de ser :size kilobytes.',
  118. 'numeric' => 'El tamany de :attribute ha de ser :size.',
  119. 'string' => ':attribute ha de contenir :size caràcters.',
  120. ],
  121. 'starts_with' => 'El :attribute ha de començar per un dels valors següents: :values',
  122. 'string' => 'El camp :attribute ha de ser una cadena.',
  123. 'timezone' => 'El camp :attribute ha de ser una zona vàlida.',
  124. 'unique' => ':attribute ja està registrat i no es pot repetir.',
  125. 'uploaded' => ':attribute ha fallat al pujar.',
  126. 'url' => ':attribute no és una adreça web vàlida.',
  127. 'uuid' => 'El :attribute ha de ser un indentificador únic universal (UUID) vàlid.',
  128. 'custom' => [
  129. 'email' => [
  130. 'unique' => 'L\':attribute ja ha sigut registrada.',
  131. ],
  132. 'password' => [
  133. 'min' => 'La :attribute ha de contenir més de :min caràcters',
  134. ],
  135. ],
  136. ];