validation.php 11 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' => 'Вы павінны прыняць :attribute.',
  14. 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
  15. 'active_url' => 'Поле :attribute утрымлівае несапраўдны URL.',
  16. 'after' => 'У полі :attribute павінна быць дата пасля :date.',
  17. 'after_or_equal' => ':attribute павінна быць датай пасля або роўнай :date.',
  18. 'alpha' => 'Поле :attribute можа мець толькі літары.',
  19. 'alpha_dash' => 'Поле :attribute можа мець толькі літары, лічбы і злучок.',
  20. 'alpha_num' => 'Поле :attribute можа мець толькі літары і лічбы.',
  21. 'array' => 'Поле :attribute павінна быць масівам.',
  22. 'attached' => 'Гэты нумар :attribute ўжо прымацаваны.',
  23. 'before' => 'У полі :attribute павінна быць дата да :date.',
  24. 'before_or_equal' => ':attribute павінна быць датай да або роўнай :date.',
  25. 'between' => [
  26. 'array' => 'Колькасць элементаў у поле :attribute павінна быць паміж :min і :max.',
  27. 'file' => 'Памер файла ў поле :attribute павінен быць паміж :min і :max кілабайт.',
  28. 'numeric' => 'Поле :attribute павінна быць паміж :min і :max.',
  29. 'string' => 'Колькасць сiмвалаў у поле :attribute павінна быць паміж :min і :max.',
  30. ],
  31. 'boolean' => 'Поле :attribute павінна мець значэнне лагічнага тыпу.',
  32. 'confirmed' => 'Поле :attribute не супадае з пацвярджэннем.',
  33. 'current_password' => 'The password is incorrect.',
  34. 'date' => 'Поле :attribute не з\'яўляецца датай.',
  35. 'date_equals' => ':attribute павінна быць датай, роўнай :date.',
  36. 'date_format' => 'Поле :attribute не адпавядае фармату :format.',
  37. 'declined' => 'The :attribute must be declined.',
  38. 'declined_if' => 'The :attribute must be declined when :other is :value.',
  39. 'different' => 'Палі :attribute і :other павінны адрознівацца.',
  40. 'digits' => 'Даўжыня лічбавага поля :attribute павінна быць :digits.',
  41. 'digits_between' => 'Даўжыня лічбавага поля :attribute павінна быць паміж :min і :max.',
  42. 'dimensions' => ':attribute мае недапушчальныя памеры малюнка.',
  43. 'distinct' => 'Поле :attribute мае паўтаральнае значэнне.',
  44. 'email' => 'Поле :attribute павінна быць сапраўдным электронным адрасам.',
  45. 'ends_with' => ':attribute павінен заканчвацца адным з наступных: :values.',
  46. 'exists' => 'Выбранае значэнне для :attribute некарэктна.',
  47. 'file' => ':attribute павінен быць файлам.',
  48. 'filled' => 'Поле :attribute абавязкова для запаўнення.',
  49. 'gt' => [
  50. 'array' => 'The :attribute must have more than :value items.',
  51. 'file' => 'The :attribute must be greater than :value kilobytes.',
  52. 'numeric' => 'The :attribute must be greater than :value.',
  53. 'string' => 'The :attribute must be greater than :value characters.',
  54. ],
  55. 'gte' => [
  56. 'array' => 'The :attribute must have :value items or more.',
  57. 'file' => 'The :attribute must be greater than or equal :value kilobytes.',
  58. 'numeric' => 'The :attribute must be greater than or equal :value.',
  59. 'string' => 'The :attribute must be greater than or equal :value characters.',
  60. ],
  61. 'image' => 'Поле :attribute павінна быць малюнкам.',
  62. 'in' => 'Выбранае значэнне для :attribute памылкова.',
  63. 'in_array' => 'Поле :attribute не існуе ў :other.',
  64. 'integer' => 'Поле :attribute павінна быць цэлым лікам.',
  65. 'ip' => 'Поле :attribute дпавінна быць сапраўдным IP-адрасам.',
  66. 'ipv4' => ':attribute павінен быць сапраўдным IPv4-адрасам.',
  67. 'ipv6' => ':attribute павінен быць сапраўдным IPv6-адрасам.',
  68. 'json' => 'Поле :attribute павінна быць JSON радком.',
  69. 'lt' => [
  70. 'array' => 'The :attribute must have less than :value items.',
  71. 'file' => 'The :attribute must be less than :value kilobytes.',
  72. 'numeric' => 'The :attribute must be less than :value.',
  73. 'string' => 'The :attribute must be less than :value characters.',
  74. ],
  75. 'lte' => [
  76. 'array' => 'The :attribute must not have more than :value items.',
  77. 'file' => 'The :attribute must be less than or equal :value kilobytes.',
  78. 'numeric' => 'The :attribute must be less than or equal :value.',
  79. 'string' => 'The :attribute must be less than or equal :value characters.',
  80. ],
  81. 'max' => [
  82. 'array' => 'Колькасць элементаў у поле :attribute не можа перавышаць :max.',
  83. 'file' => 'Памер файла ў поле :attribute не можа быць больш :max кілабайт).',
  84. 'numeric' => 'Поле :attribute не можа быць больш :max.',
  85. 'string' => 'Колькасць сiмвалаў у поле :attribute не можа перавышаць :max.',
  86. ],
  87. 'mimes' => 'Поле :attribute павінна быць файлам аднаго з наступных тыпаў: :values.',
  88. 'mimetypes' => 'Поле :attribute павінна быць файлам аднаго з наступных тыпаў: :values.',
  89. 'min' => [
  90. 'array' => 'Колькасць элементаў у поле :attribute павінна быць не менш :min.',
  91. 'file' => 'Памер файла ў полее :attribute павінен быць не менш :min кілабайт.',
  92. 'numeric' => 'Поле :attribute павінна быць не менш :min.',
  93. 'string' => 'Колькасць сiмвалаў у поле :attribute павінна быць не менш :min.',
  94. ],
  95. 'multiple_of' => 'Лік :attribute павінна быць Кратна :value',
  96. 'not_in' => 'Выбранае значэнне для :attribute памылкова.',
  97. 'not_regex' => 'Фармат :attribute недапушчальны.',
  98. 'numeric' => 'Поле :attribute павінна быць лікам.',
  99. 'password' => 'Пароль няправільны.',
  100. 'present' => 'Поле :attribute павінна прысутнічаць.',
  101. 'prohibited' => 'Поле :attribute забаронена.',
  102. 'prohibited_if' => 'Поле :attribute забаронена, калі :other роўна :value.',
  103. 'prohibited_unless' => 'Поле :attribute забаронена, калі толькі :other не знаходзіцца ў :values.',
  104. 'prohibits' => 'The :attribute field prohibits :other from being present.',
  105. 'regex' => 'Поле :attribute мае памылковы фармат.',
  106. 'relatable' => 'Гэты :attribute можа быць не звязаны з гэтым рэсурсам.',
  107. 'required' => 'Поле :attribute абавязкова для запаўнення.',
  108. 'required_if' => 'Поле :attribute абавязкова для запаўнення, калі :other раўняецца :value.',
  109. 'required_unless' => 'Поле :attribute абавязкова для запаўнення, калі :other не раўняецца :values.',
  110. 'required_with' => 'Поле :attribute абавязкова для запаўнення, калі :values ўказана.',
  111. 'required_with_all' => 'Поле :attribute абавязкова для запаўнення, калі :values ўказана.',
  112. 'required_without' => 'Поле :attribute абавязкова для запаўнення, калі :values не ўказана.',
  113. 'required_without_all' => 'Поле :attribute абавязкова для запаўнення, калі ні адно з :values не ўказана.',
  114. 'same' => 'Значэнне :attribute павінна супадаць з :other.',
  115. 'size' => [
  116. 'array' => 'Колькасць элементаў у поле :attribute павінна быць :size.',
  117. 'file' => 'Размер файла в поле :attribute павінен быць :size кілабайт.',
  118. 'numeric' => 'Поле :attribute павінна быць :size.',
  119. 'string' => 'Колькасць сiмвалаў у поле :attribute павінна быць :size.',
  120. ],
  121. 'starts_with' => ':attribute павінен пачынацца з аднаго з наступных значэнняў: :values.',
  122. 'string' => 'Поле :attribute павінна быць радком.',
  123. 'timezone' => 'Поле :attribute павінна быць сапраўдным гадзінным поясам.',
  124. 'unique' => 'Такое значэнне поля :attribute ўжо існуе.',
  125. 'uploaded' => ':attribute не ўдалося загрузіць.',
  126. 'url' => 'Поле :attribute мае памылковы фармат.',
  127. 'uuid' => ':attribute павінен быць сапраўдным UUID.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'custom-message',
  131. ],
  132. ],
  133. ];