validation.php 8.5 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' => 'Polje :attribute mora biti prihvaćeno.',
  14. 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
  15. 'active_url' => 'Polje :attribute nije validan URL.',
  16. 'after' => 'Polje :attribute mora biti datum posle :date.',
  17. 'after_or_equal' => 'Polje :attribute mora da bude :date ili kasniji datum.',
  18. 'alpha' => 'Polje :attribute može sadržati samo slova.',
  19. 'alpha_dash' => 'Polje :attribute može sadržati samo slova, brojeve i povlake.',
  20. 'alpha_num' => 'Polje :attribute može sadržati samo slova i brojeve.',
  21. 'array' => 'Polje :attribute mora sadržati nekih niz stavki.',
  22. 'attached' => 'Овај број :attribute је већ приложен.',
  23. 'before' => 'Polje :attribute mora biti datum pre :date.',
  24. 'before_or_equal' => ':attribute mora da bude :date ili raniji datum.',
  25. 'between' => [
  26. 'array' => 'Polje :attribute mora biti između :min - :max stavki.',
  27. 'file' => 'Fajl :attribute mora biti između :min - :max kilobajta.',
  28. 'numeric' => 'Polje :attribute mora biti između :min - :max.',
  29. 'string' => 'Polje :attribute mora biti između :min - :max karaktera.',
  30. ],
  31. 'boolean' => 'Polje :attribute mora biti tačno ili netačno',
  32. 'confirmed' => 'Potvrda polja :attribute se ne poklapa.',
  33. 'current_password' => 'The password is incorrect.',
  34. 'date' => 'Polje :attribute nije važeći datum.',
  35. 'date_equals' => 'Polje :attribute mora da bude datum: :date.',
  36. 'date_format' => 'Polje :attribute ne odgovora prema formatu :format.',
  37. 'declined' => 'The :attribute must be declined.',
  38. 'declined_if' => 'The :attribute must be declined when :other is :value.',
  39. 'different' => 'Polja :attribute i :other moraju biti različita.',
  40. 'digits' => 'Polje :attribute mora sadržati :digits šifri.',
  41. 'digits_between' => 'Polje :attribute mora biti izemđu :min i :max šifri.',
  42. 'dimensions' => 'Polje :attribute ime nedozvoljene dimenzije slike.',
  43. 'distinct' => 'Polje :attribute ima dupliranu vrednost.',
  44. 'email' => 'Format polja :attribute nije validan.',
  45. 'ends_with' => 'Polje :attribute mora da se završi sa nečim od sledećeg: :values.',
  46. 'exists' => 'Odabrano polje :attribute nije validno.',
  47. 'file' => ':attribute mora da bude datoteka.',
  48. 'filled' => 'Polje :attribute je obavezno.',
  49. 'gt' => [
  50. 'array' => 'Polje :attribute mora da sadrži više od :value stavke.',
  51. 'file' => 'Polje :attribute mora da bude veći od :value kilobajta.',
  52. 'numeric' => 'Polje :attribute mora da bude veći od :value.',
  53. 'string' => 'Polje :attribute mora da sadrži više od :value znakova.',
  54. ],
  55. 'gte' => [
  56. 'array' => 'Polje :attribute mora da sadrži :value stavki ili više.',
  57. 'file' => 'Polje :attribute mora da ima :value ili više kilobajta.',
  58. 'numeric' => 'Polje :attribute mora da bude :value ili veći.',
  59. 'string' => 'Polje :attribute mora da sadrži :value ili više znakova.',
  60. ],
  61. 'image' => 'Polje :attribute mora biti slika.',
  62. 'in' => 'Polje Odabrano polje :attribute nije validno.',
  63. 'in_array' => 'Polje :attribute ne postoji u :other.',
  64. 'integer' => 'Polje :attribute mora biti broj.',
  65. 'ip' => 'Polje :attribute mora biti validna IP adresa.',
  66. 'ipv4' => 'Polje :attribute mora da bude važeća IPv4 adresa.',
  67. 'ipv6' => 'Polje :attribute mora da bude važeća IPv6 adresa.',
  68. 'json' => 'Polje :attribute mora da bude važeća JSON niska.',
  69. 'lt' => [
  70. 'array' => 'Polje :attribute mora da sadrži manje od :value stavki.',
  71. 'file' => 'Polje :attribute mora da bude manji od :value kilobajta.',
  72. 'numeric' => 'Polje :attribute mora da bude manji od :value.',
  73. 'string' => 'Polje :attribute mora da sadrži manje od :value znakova.',
  74. ],
  75. 'lte' => [
  76. 'array' => 'Polje :attribute ne sme da sadrži više od :value stavki.',
  77. 'file' => 'Polje :attribute mora da bude manji od :value kilobajta.',
  78. 'numeric' => 'Polje :attribute mora da bude :value ili manji.',
  79. 'string' => 'Polje :attribute mora da sadrži :value ili manje znakova.',
  80. ],
  81. 'max' => [
  82. 'array' => 'Polje :attribute ne smije da image više od :max stavki.',
  83. 'file' => 'Polje :attribute mora biti manje od :max kilobajta.',
  84. 'numeric' => 'Polje :attribute mora biti manje od :max.',
  85. 'string' => 'Polje :attribute mora sadržati manje od :max karaktera.',
  86. ],
  87. 'mimes' => 'Polje :attribute mora biti fajl tipa: :values.',
  88. 'mimetypes' => 'Polje :attribute mora biti fajl tipa: :values.',
  89. 'min' => [
  90. 'array' => 'Polje :attribute mora sadrzati najmanje :min stavku.',
  91. 'file' => 'Fajl :attribute mora biti najmanje :min kilobajta.',
  92. 'numeric' => 'Polje :attribute mora biti najmanje :min.',
  93. 'string' => 'Polje :attribute mora sadržati najmanje :min karaktera.',
  94. ],
  95. 'multiple_of' => 'Број :attribute треба да буде вишеструки од :value',
  96. 'not_in' => 'Odabrani element polja :attribute nije validan.',
  97. 'not_regex' => 'Format :attribute je nevažeći.',
  98. 'numeric' => 'Polje :attribute mora biti broj.',
  99. 'password' => 'Pogrešna lozinka',
  100. 'present' => 'Polje :attribute mora da bude prisutno.',
  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' => 'Format polja :attribute nije validan.',
  106. 'relatable' => 'Овај :attribute можда није повезан са овим ресурсом.',
  107. 'required' => 'Polje :attribute je obavezno.',
  108. 'required_if' => 'Polje :attribute je potrebno kada polje :other sadrži :value.',
  109. 'required_unless' => 'Polje :attribute je obavezno, osim ako je :other u :values.',
  110. 'required_with' => 'Polje :attribute je potrebno kada polje :values je prisutan.',
  111. 'required_with_all' => 'Polje :attribute je obavezno kada je :values prikazano.',
  112. 'required_without' => 'Polje :attribute je potrebno kada polje :values nije prisutan.',
  113. 'required_without_all' => 'Polje :attribute je potrebno kada nijedan od sledeći polja :values nisu prisutni.',
  114. 'same' => 'Polja :attribute i :other se moraju poklapati.',
  115. 'size' => [
  116. 'array' => 'Polje :attribute mora sadržati :size stavki.',
  117. 'file' => 'Fajl :attribute mora biti :size kilobajta.',
  118. 'numeric' => 'Polje :attribute mora biti :size.',
  119. 'string' => 'Polje :attribute mora biti :size karaktera.',
  120. ],
  121. 'starts_with' => 'Polje :attribute mora da počne sa: :values',
  122. 'string' => 'Polje :attribute mora sadržati slova.',
  123. 'timezone' => 'Polje :attribute mora biti ispravna vremenska zona.',
  124. 'unique' => 'Polje :attribute već postoji.',
  125. 'uploaded' => ':attribute nije otpremljen.',
  126. 'url' => 'Format polja :attribute ne važi.',
  127. 'uuid' => ':attribute mora da bude važeći UUID.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'custom-message',
  131. ],
  132. ],
  133. ];