validation.php 7.9 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' => 'Pole :attribute musi zostać zaakceptowane.',
  14. 'accepted_if' => 'Pole :attribute musi zostać zaakceptowane gdy :other ma wartość :value.',
  15. 'active_url' => 'Pole :attribute jest nieprawidłowym adresem URL.',
  16. 'after' => 'Pole :attribute musi być datą późniejszą od :date.',
  17. 'after_or_equal' => 'Pole :attribute musi być datą nie wcześniejszą niż :date.',
  18. 'alpha' => 'Pole :attribute może zawierać jedynie litery.',
  19. 'alpha_dash' => 'Pole :attribute może zawierać jedynie litery, cyfry i myślniki.',
  20. 'alpha_num' => 'Pole :attribute może zawierać jedynie litery i cyfry.',
  21. 'array' => 'Pole :attribute musi być tablicą.',
  22. 'attached' => 'Ten :attribute jest już dołączony.',
  23. 'before' => 'Pole :attribute musi być datą wcześniejszą od :date.',
  24. 'before_or_equal' => 'Pole :attribute musi być datą nie późniejszą niż :date.',
  25. 'between' => [
  26. 'array' => 'Pole :attribute musi składać się z :min - :max elementów.',
  27. 'file' => 'Pole :attribute musi zawierać się w granicach :min - :max kilobajtów.',
  28. 'numeric' => 'Pole :attribute musi zawierać się w granicach :min - :max.',
  29. 'string' => 'Pole :attribute musi zawierać się w granicach :min - :max znaków.',
  30. ],
  31. 'boolean' => 'Pole :attribute musi mieć wartość logiczną prawda albo fałsz.',
  32. 'confirmed' => 'Potwierdzenie pola :attribute nie zgadza się.',
  33. 'current_password' => 'Hasło jest nieprawidłowe.',
  34. 'date' => 'Pole :attribute nie jest prawidłową datą.',
  35. 'date_equals' => 'Pole :attribute musi być datą równą :date.',
  36. 'date_format' => 'Pole :attribute nie jest w formacie :format.',
  37. 'declined' => 'Pole :attribute musi zostać odrzucony.',
  38. 'declined_if' => 'Pole :attribute musi zostać odrzucony, gdy :other ma wartość :value.',
  39. 'different' => 'Pole :attribute oraz :other muszą się różnić.',
  40. 'digits' => 'Pole :attribute musi składać się z :digits cyfr.',
  41. 'digits_between' => 'Pole :attribute musi mieć od :min do :max cyfr.',
  42. 'dimensions' => 'Pole :attribute ma niepoprawne wymiary.',
  43. 'distinct' => 'Pole :attribute ma zduplikowane wartości.',
  44. 'email' => 'Pole :attribute nie jest poprawnym adresem e-mail.',
  45. 'ends_with' => 'Pole :attribute musi kończyć się jedną z następujących wartości: :values.',
  46. 'exists' => 'Zaznaczone pole :attribute jest nieprawidłowe.',
  47. 'file' => 'Pole :attribute musi być plikiem.',
  48. 'filled' => 'Pole :attribute nie może być puste.',
  49. 'gt' => [
  50. 'array' => 'Pole :attribute musi mieć więcej niż :value elementów.',
  51. 'file' => 'Pole :attribute musi być większe niż :value kilobajtów.',
  52. 'numeric' => 'Pole :attribute musi być większe niż :value.',
  53. 'string' => 'Pole :attribute musi być dłuższe niż :value znaków.',
  54. ],
  55. 'gte' => [
  56. 'array' => 'Pole :attribute musi mieć :value lub więcej elementów.',
  57. 'file' => 'Pole :attribute musi być większe lub równe :value kilobajtów.',
  58. 'numeric' => 'Pole :attribute musi być większe lub równe :value.',
  59. 'string' => 'Pole :attribute musi być dłuższe lub równe :value znaków.',
  60. ],
  61. 'image' => 'Pole :attribute musi być obrazkiem.',
  62. 'in' => 'Zaznaczony element :attribute jest nieprawidłowy.',
  63. 'in_array' => 'Pole :attribute nie znajduje się w :other.',
  64. 'integer' => 'Pole :attribute musi być liczbą całkowitą.',
  65. 'ip' => 'Pole :attribute musi być prawidłowym adresem IP.',
  66. 'ipv4' => 'Pole :attribute musi być prawidłowym adresem IPv4.',
  67. 'ipv6' => 'Pole :attribute musi być prawidłowym adresem IPv6.',
  68. 'json' => 'Pole :attribute musi być poprawnym ciągiem znaków JSON.',
  69. 'lt' => [
  70. 'array' => 'Pole :attribute musi mieć mniej niż :value elementów.',
  71. 'file' => 'Pole :attribute musi być mniejsze niż :value kilobajtów.',
  72. 'numeric' => 'Pole :attribute musi być mniejsze niż :value.',
  73. 'string' => 'Pole :attribute musi być krótsze niż :value znaków.',
  74. ],
  75. 'lte' => [
  76. 'array' => 'Pole :attribute musi mieć :value lub mniej elementów.',
  77. 'file' => 'Pole :attribute musi być mniejsze lub równe :value kilobajtów.',
  78. 'numeric' => 'Pole :attribute musi być mniejsze lub równe :value.',
  79. 'string' => 'Pole :attribute musi być krótsze lub równe :value znaków.',
  80. ],
  81. 'max' => [
  82. 'array' => 'Pole :attribute nie może mieć więcej niż :max elementów.',
  83. 'file' => 'Pole :attribute nie może być większe niż :max kilobajtów.',
  84. 'numeric' => 'Pole :attribute nie może być większe niż :max.',
  85. 'string' => 'Pole :attribute nie może być dłuższe niż :max znaków.',
  86. ],
  87. 'mimes' => 'Pole :attribute musi być plikiem typu :values.',
  88. 'mimetypes' => 'Pole :attribute musi być plikiem typu :values.',
  89. 'min' => [
  90. 'array' => 'Pole :attribute musi mieć przynajmniej :min elementów.',
  91. 'file' => 'Pole :attribute musi mieć przynajmniej :min kilobajtów.',
  92. 'numeric' => 'Pole :attribute musi być nie mniejsze od :min.',
  93. 'string' => 'Pole :attribute musi mieć przynajmniej :min znaków.',
  94. ],
  95. 'multiple_of' => 'Pole :attribute musi być wielokrotnością wartości :value',
  96. 'not_in' => 'Zaznaczony :attribute jest nieprawidłowy.',
  97. 'not_regex' => 'Format pola :attribute jest nieprawidłowy.',
  98. 'numeric' => 'Pole :attribute musi być liczbą.',
  99. 'password' => 'Hasło jest nieprawidłowe.',
  100. 'present' => 'Pole :attribute musi być obecne.',
  101. 'prohibited' => 'Pole :attribute jest zabronione.',
  102. 'prohibited_if' => 'Pole :attribute jest zabronione, gdy :other to :value.',
  103. 'prohibited_unless' => 'Pole :attribute jest zabronione, chyba że :other jest w :values.',
  104. 'prohibits' => 'Pole :attribute zabrania obecności :other.',
  105. 'regex' => 'Format pola :attribute jest nieprawidłowy.',
  106. 'relatable' => 'Ten :attribute może nie być powiązany z tym zasobem.',
  107. 'required' => 'Pole :attribute jest wymagane.',
  108. 'required_if' => 'Pole :attribute jest wymagane gdy :other ma wartość :value.',
  109. 'required_unless' => 'Pole :attribute jest wymagane jeżeli :other nie znajduje się w :values.',
  110. 'required_with' => 'Pole :attribute jest wymagane gdy :values jest obecny.',
  111. 'required_with_all' => 'Pole :attribute jest wymagane gdy wszystkie :values są obecne.',
  112. 'required_without' => 'Pole :attribute jest wymagane gdy :values nie jest obecny.',
  113. 'required_without_all' => 'Pole :attribute jest wymagane gdy żadne z :values nie są obecne.',
  114. 'same' => 'Pole :attribute i :other muszą być takie same.',
  115. 'size' => [
  116. 'array' => 'Pole :attribute musi zawierać :size elementów.',
  117. 'file' => 'Pole :attribute musi mieć :size kilobajtów.',
  118. 'numeric' => 'Pole :attribute musi mieć :size.',
  119. 'string' => 'Pole :attribute musi mieć :size znaków.',
  120. ],
  121. 'starts_with' => 'Pole :attribute musi zaczynać się jedną z następujących wartości: :values.',
  122. 'string' => 'Pole :attribute musi być ciągiem znaków.',
  123. 'timezone' => 'Pole :attribute musi być prawidłową strefą czasową.',
  124. 'unique' => 'Taki :attribute już występuje.',
  125. 'uploaded' => 'Nie udało się wgrać pliku :attribute.',
  126. 'url' => 'Format pola :attribute jest nieprawidłowy.',
  127. 'uuid' => 'Pole :attribute musi być poprawnym identyfikatorem UUID.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'custom-message',
  131. ],
  132. ],
  133. ];