validation.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  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' => 'Pole :attribute musi być zaakceptowane.',
  14. 'accepted_if' => 'Pole :attribute musi być zaakceptowane, gdy :other wynosi :value.',
  15. 'active_url' => 'Pole :attribute musi być poprawnym adresem URL.',
  16. 'after' => 'Pole :attribute musi być datą po :date.',
  17. 'after_or_equal' => 'Pole :attribute musi być datą po lub równą :date.',
  18. 'alpha' => 'Pole :attribute może zawierać tylko litery.',
  19. 'alpha_dash' => 'Pole :attribute może zawierać tylko litery, cyfry, myślniki i podkreślenia.',
  20. 'alpha_num' => 'Pole :attribute może zawierać tylko litery i cyfry.',
  21. 'array' => 'Pole :attribute musi być tablicą.',
  22. 'ascii' => 'Pole :attribute może zawierać tylko jednobajtowe znaki alfanumeryczne i symbole.',
  23. 'before' => 'Pole :attribute musi być datą przed :date.',
  24. 'before_or_equal' => 'Pole :attribute musi być datą przed lub równą :date.',
  25. 'between' => [
  26. 'array' => 'Pole :attribute musi zawierać od :min do :max elementów.',
  27. 'file' => 'Plik :attribute musi mieć rozmiar między :min a :max kilobajtów.',
  28. 'numeric' => 'Pole :attribute musi zawierać się między :min a :max.',
  29. 'string' => 'Pole :attribute musi mieć od :min do :max znaków.',
  30. ],
  31. 'boolean' => 'Pole :attribute musi mieć wartość prawda lub fałsz.',
  32. 'can' => 'Pole :attribute zawiera niedozwoloną wartość.',
  33. 'confirmed' => 'Potwierdzenie pola :attribute nie pasuje.',
  34. 'current_password' => 'Hasło jest nieprawidłowe.',
  35. 'date' => 'Pole :attribute musi być prawidłową datą.',
  36. 'date_equals' => 'Pole :attribute musi być datą równą :date.',
  37. 'date_format' => 'Pole :attribute musi być w formacie :format.',
  38. 'decimal' => 'Pole :attribute musi mieć :decimal miejsc po przecinku.',
  39. 'declined' => 'Pole :attribute musi być odrzucone.',
  40. 'declined_if' => 'Pole :attribute musi być odrzucone, gdy :other wynosi :value.',
  41. 'different' => 'Pole :attribute i :other muszą być różne.',
  42. 'digits' => 'Pole :attribute musi składać się z :digits cyfr.',
  43. 'digits_between' => 'Pole :attribute musi mieć od :min do :max cyfr.',
  44. 'dimensions' => 'Pole :attribute ma nieprawidłowe wymiary obrazu.',
  45. 'distinct' => 'Pole :attribute ma zduplikowaną wartość.',
  46. 'doesnt_end_with' => 'Pole :attribute nie może kończyć się jednym z następujących: :values.',
  47. 'doesnt_start_with' => 'Pole :attribute nie może zaczynać się jednym z następujących: :values.',
  48. 'email' => 'Pole :attribute musi być prawidłowym adresem e-mail.',
  49. 'ends_with' => 'Pole :attribute musi kończyć się jednym z następujących: :values.',
  50. 'enum' => 'Wybrany :attribute jest nieprawidłowy.',
  51. 'exists' => 'Wybrany :attribute jest nieprawidłowy.',
  52. 'extensions' => 'Pole :attribute musi mieć jedno z następujących rozszerzeń: :values.',
  53. 'file' => 'Pole :attribute musi być plikiem.',
  54. 'filled' => 'Pole :attribute musi mieć wartość.',
  55. 'gt' => [
  56. 'array' => 'Pole :attribute musi zawierać więcej niż :value elementów.',
  57. 'file' => 'Pole :attribute musi być większe niż :value kilobajtów.',
  58. 'numeric' => 'Pole :attribute musi być większe niż :value.',
  59. 'string' => 'Pole :attribute musi być dłuższe niż :value znaków.',
  60. ],
  61. 'gte' => [
  62. 'array' => 'Pole :attribute musi zawierać :value elementów lub więcej.',
  63. 'file' => 'Pole :attribute musi być większe lub równe :value kilobajtów.',
  64. 'numeric' => 'Pole :attribute musi być większe lub równe :value.',
  65. 'string' => 'Pole :attribute musi być dłuższe lub równe :value znaków.',
  66. ],
  67. 'hex_color' => 'Pole :attribute musi być prawidłowym kodem koloru szesnastkowego.',
  68. 'image' => 'Pole :attribute musi być obrazem.',
  69. 'in' => 'Wybrany :attribute jest nieprawidłowy.',
  70. 'in_array' => 'Pole :attribute musi istnieć w :other.',
  71. 'integer' => 'Pole :attribute musi być liczbą całkowitą.',
  72. 'ip' => 'Pole :attribute musi być prawidłowym adresem IP.',
  73. 'ipv4' => 'Pole :attribute musi być prawidłowym adresem IPv4.',
  74. 'ipv6' => 'Pole :attribute musi być prawidłowym adresem IPv6.',
  75. 'json' => 'Pole :attribute musi być prawidłowym ciągiem JSON.',
  76. 'lowercase' => 'Pole :attribute musi być pisane małymi literami.',
  77. 'lt' => [
  78. 'array' => 'Pole :attribute musi zawierać mniej niż :value elementów.',
  79. 'file' => 'Pole :attribute musi być mniejsze niż :value kilobajtów.',
  80. 'numeric' => 'Pole :attribute musi być mniejsze niż :value.',
  81. 'string' => 'Pole :attribute musi być krótsze niż :value znaków.',
  82. ],
  83. 'lte' => [
  84. 'array' => 'Pole :attribute nie może zawierać więcej niż :value elementów.',
  85. 'file' => 'Pole :attribute musi być mniejsze lub równe :value kilobajtów.',
  86. 'numeric' => 'Pole :attribute musi być mniejsze lub równe :value.',
  87. 'string' => 'Pole :attribute musi być krótsze lub równe :value znaków.',
  88. ],
  89. 'mac_address' => 'Pole :attribute musi być prawidłowym adresem MAC.',
  90. 'max' => [
  91. 'array' => 'Pole :attribute nie może zawierać więcej niż :max elementów.',
  92. 'file' => 'Pole :attribute nie może być większe niż :max kilobajtów.',
  93. 'numeric' => 'Pole :attribute nie może być większe niż :max.',
  94. 'string' => 'Pole :attribute nie może być dłuższe niż :max znaków.',
  95. ],
  96. 'max_digits' => 'Pole :attribute nie może zawierać więcej niż :max cyfr.',
  97. 'mimes' => 'Pole :attribute musi być plikiem typu: :values.',
  98. 'mimetypes' => 'Pole :attribute musi być plikiem typu: :values.',
  99. 'min' => [
  100. 'array' => 'Pole :attribute musi zawierać co najmniej :min elementów.',
  101. 'file' => 'Pole :attribute musi mieć co najmniej :min kilobajtów.',
  102. 'numeric' => 'Pole :attribute musi być co najmniej :min.',
  103. 'string' => 'Pole :attribute musi mieć co najmniej :min znaków.',
  104. ],
  105. 'min_digits' => 'Pole :attribute musi zawierać co najmniej :min cyfr.',
  106. 'missing' => 'Pole :attribute musi być nieobecne.',
  107. 'missing_if' => 'Pole :attribute musi być nieobecne, gdy :other ma wartość :value.',
  108. 'missing_unless' => 'Pole :attribute musi być nieobecne, chyba że :other ma wartość :value.',
  109. 'missing_with' => 'Pole :attribute musi być nieobecne, gdy :values są obecne.',
  110. 'missing_with_all' => 'Pole :attribute musi być nieobecne, gdy :values są obecne.',
  111. 'multiple_of' => 'Pole :attribute musi być wielokrotnością :value.',
  112. 'not_in' => 'Wybrany :attribute jest nieprawidłowy.',
  113. 'not_regex' => 'Format pola :attribute jest nieprawidłowy.',
  114. 'numeric' => 'Pole :attribute musi być liczbą.',
  115. 'password' => [
  116. 'letters' => 'Pole :attribute musi zawierać przynajmniej jedną literę.',
  117. 'mixed' => 'Pole :attribute musi zawierać przynajmniej jedną wielką literę i jedną małą literę.',
  118. 'numbers' => 'Pole :attribute musi zawierać przynajmniej jedną liczbę.',
  119. 'symbols' => 'Pole :attribute musi zawierać przynajmniej jeden symbol.',
  120. 'uncompromised' => 'Podane :attribute pojawiło się w wycieku danych. Proszę wybrać inne :attribute.',
  121. ],
  122. 'present' => 'Pole :attribute musi być obecne.',
  123. 'present_if' => 'Pole :attribute musi być obecne, gdy :other ma wartość :value.',
  124. 'present_unless' => 'Pole :attribute musi być obecne, chyba że :other ma wartość :value.',
  125. 'present_with' => 'Pole :attribute musi być obecne, gdy :values są obecne.',
  126. 'present_with_all' => 'Pole :attribute musi być obecne, gdy :values są obecne.',
  127. 'prohibited' => 'Pole :attribute jest zabronione.',
  128. 'prohibited_if' => 'Pole :attribute jest zabronione, gdy :other ma wartość :value.',
  129. 'prohibited_unless' => 'Pole :attribute jest zabronione, chyba że :other jest w :values.',
  130. 'prohibits' => 'Pole :attribute zabrania obecności :other.',
  131. 'regex' => 'Format pola :attribute jest nieprawidłowy.',
  132. 'required' => 'Pole :attribute jest wymagane.',
  133. 'required_array_keys' => 'Pole :attribute musi zawierać wpisy dla: :values.',
  134. 'required_if' => 'Pole :attribute jest wymagane, gdy :other ma wartość :value.',
  135. 'required_if_accepted' => 'Pole :attribute jest wymagane, gdy :other jest zaakceptowane.',
  136. 'required_unless' => 'Pole :attribute jest wymagane, chyba że :other jest w :values.',
  137. 'required_with' => 'Pole :attribute jest wymagane, gdy :values są obecne.',
  138. 'required_with_all' => 'Pole :attribute jest wymagane, gdy :values są obecne.',
  139. 'required_without' => 'Pole :attribute jest wymagane, gdy :values nie są obecne.',
  140. 'required_without_all' => 'Pole :attribute jest wymagane, gdy żadne z :values nie są obecne.',
  141. 'same' => 'Pole :attribute musi być takie samo jak :other.',
  142. 'size' => [
  143. 'array' => 'Pole :attribute musi zawierać :size elementów.',
  144. 'file' => 'Pole :attribute musi mieć :size kilobajtów.',
  145. 'numeric' => 'Pole :attribute musi mieć :size.',
  146. 'string' => 'Pole :attribute musi mieć :size znaków.',
  147. ],
  148. 'starts_with' => 'Pole :attribute musi zaczynać się od jednego z następujących: :values.',
  149. 'string' => 'Pole :attribute musi być ciągiem znaków.',
  150. 'timezone' => 'Pole :attribute musi być prawidłową strefą czasową.',
  151. 'unique' => ':attribute jest już zajęty.',
  152. 'uploaded' => 'Wystąpił błąd podczas przesyłania pliku :attribute.',
  153. 'uppercase' => 'Pole :attribute musi być zapisane wielkimi literami.',
  154. 'url' => 'Pole :attribute musi być prawidłowym adresem URL.',
  155. 'ulid' => 'Pole :attribute musi być prawidłowym ULID.',
  156. 'uuid' => 'Pole :attribute musi być prawidłowym UUID.',
  157. /*
  158. |--------------------------------------------------------------------------
  159. | Custom Validation Language Lines
  160. |--------------------------------------------------------------------------
  161. |
  162. | Here you may specify custom validation messages for attributes using the
  163. | convention "attribute.rule" to name the lines. This makes it quick to
  164. | specify a specific custom language line for a given attribute rule.
  165. |
  166. */
  167. 'custom' => [
  168. 'attribute-name' => [
  169. 'rule-name' => 'Niestandardowa wiadomość',
  170. ],
  171. ],
  172. /*
  173. |--------------------------------------------------------------------------
  174. | Custom Validation Attributes
  175. |--------------------------------------------------------------------------
  176. |
  177. | The following language lines are used to swap our attribute placeholder
  178. | with something more reader friendly such as "E-Mail Address" instead
  179. | of "email". This simply helps us make our message more expressive.
  180. |
  181. */
  182. 'attributes' => [],
  183. ];