validation-inline.php 7.7 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' => 'Ovo polje mora biti prihvaćeno.',
  14. 'accepted_if' => 'This field must be accepted when :other is :value.',
  15. 'active_url' => 'To je nevažeći URL.',
  16. 'after' => 'To bi trebao biti datum nakon :date.',
  17. 'after_or_equal' => 'To bi trebao biti datum nakon ili jednaka :date.',
  18. 'alpha' => 'Ovo polje može sadržavati samo slova.',
  19. 'alpha_dash' => 'Ovo polje može sadržavati samo slova, brojeve, crtice i podcrtavanja.',
  20. 'alpha_num' => 'Ovo polje može sadržavati samo slova i brojeve.',
  21. 'array' => 'Ovo polje mora biti polje.',
  22. 'attached' => 'Ovo polje je već pričvršćeno.',
  23. 'before' => 'To bi trebao biti datum do :date.',
  24. 'before_or_equal' => 'To bi trebao biti datum prije ili jednako :date.',
  25. 'between' => [
  26. 'array' => 'This content must have between :min and :max items.',
  27. 'file' => 'This file must be between :min and :max kilobytes.',
  28. 'numeric' => 'This value must be between :min and :max.',
  29. 'string' => 'This string must be between :min and :max characters.',
  30. ],
  31. 'boolean' => 'Ovo polje mora biti istinito ili lažno.',
  32. 'confirmed' => 'Potvrda se ne podudara.',
  33. 'current_password' => 'The password is incorrect.',
  34. 'date' => 'To nije valjan datum.',
  35. 'date_equals' => 'To bi trebao biti datum jednak :date.',
  36. 'date_format' => 'To ne odgovara formatu :format.',
  37. 'declined' => 'This value must be declined.',
  38. 'declined_if' => 'This value must be declined when :other is :value.',
  39. 'different' => 'Ova se vrijednost mora razlikovati od :other.',
  40. 'digits' => 'To bi trebalo biti :digits znamenki.',
  41. 'digits_between' => 'To bi trebalo biti između :min i :max znamenki.',
  42. 'dimensions' => 'Ova slika ima nevažeće dimenzije.',
  43. 'distinct' => 'Ovo polje ima ponavljajuće značenje.',
  44. 'email' => 'To mora biti valjana adresa e-pošte.',
  45. 'ends_with' => 'To bi trebalo završiti s jednom od sljedećih stavki: :values.',
  46. 'exists' => 'Odabrana vrijednost nije važeća.',
  47. 'file' => 'Sadržaj mora biti datoteka.',
  48. 'filled' => 'Ovo polje mora biti važno.',
  49. 'gt' => [
  50. 'array' => 'The content must have more than :value items.',
  51. 'file' => 'The file size must be greater than :value kilobytes.',
  52. 'numeric' => 'The value must be greater than :value.',
  53. 'string' => 'The string must be greater than :value characters.',
  54. ],
  55. 'gte' => [
  56. 'array' => 'The content must have :value items or more.',
  57. 'file' => 'The file size must be greater than or equal :value kilobytes.',
  58. 'numeric' => 'The value must be greater than or equal :value.',
  59. 'string' => 'The string must be greater than or equal :value characters.',
  60. ],
  61. 'image' => 'To mora biti slika.',
  62. 'in' => 'Odabrana vrijednost nije važeća.',
  63. 'in_array' => 'Ova vrijednost ne postoji u :other.',
  64. 'integer' => 'To mora biti cijeli broj.',
  65. 'ip' => 'To mora biti valjana IP adresa.',
  66. 'ipv4' => 'To mora biti valjana IPv4 adresa.',
  67. 'ipv6' => 'To mora biti valjana IPv6 adresa.',
  68. 'json' => 'To bi trebao biti valjani JSON niz.',
  69. 'lt' => [
  70. 'array' => 'The content must have less than :value items.',
  71. 'file' => 'The file size must be less than :value kilobytes.',
  72. 'numeric' => 'The value must be less than :value.',
  73. 'string' => 'The string must be less than :value characters.',
  74. ],
  75. 'lte' => [
  76. 'array' => 'The content must not have more than :value items.',
  77. 'file' => 'The file size must be less than or equal :value kilobytes.',
  78. 'numeric' => 'The value must be less than or equal :value.',
  79. 'string' => 'The string must be less than or equal :value characters.',
  80. ],
  81. 'max' => [
  82. 'array' => 'The content may not have more than :max items.',
  83. 'file' => 'The file size may not be greater than :max kilobytes.',
  84. 'numeric' => 'The value may not be greater than :max.',
  85. 'string' => 'The string may not be greater than :max characters.',
  86. ],
  87. 'mimes' => 'To mora biti datoteka tipa: :values.',
  88. 'mimetypes' => 'To mora biti datoteka tipa: :values.',
  89. 'min' => [
  90. 'array' => 'The value must have at least :min items.',
  91. 'file' => 'The file size must be at least :min kilobytes.',
  92. 'numeric' => 'The value must be at least :min.',
  93. 'string' => 'The string must be at least :min characters.',
  94. ],
  95. 'multiple_of' => 'Ova vrijednost mora biti višekratnik :value',
  96. 'not_in' => 'Odabrana vrijednost nije važeća.',
  97. 'not_regex' => 'Ovaj format je neprihvatljiv.',
  98. 'numeric' => 'To mora biti broj.',
  99. 'password' => 'Lozinka je pogrešna.',
  100. 'present' => 'Ovo polje mora biti prisutno.',
  101. 'prohibited' => 'Ovo polje je zabranjeno.',
  102. 'prohibited_if' => 'Ovo polje je zabranjeno ako je :other :value.',
  103. 'prohibited_unless' => 'Ovo polje je zabranjeno, osim ako :other nije u :values.',
  104. 'prohibits' => 'This field prohibits :other from being present.',
  105. 'regex' => 'Ovaj format je neprihvatljiv.',
  106. 'relatable' => 'Ovo polje možda nije povezano s ovim resursom.',
  107. 'required' => 'Ovo polje je obavezno.',
  108. 'required_if' => 'Ovo polje je obavezno ako je :other :value.',
  109. 'required_unless' => 'Ovo polje je obavezno, osim ako :other nije u :values.',
  110. 'required_with' => 'Ovo polje je obavezno u prisutnosti :values.',
  111. 'required_with_all' => 'Ovo polje je potrebno u prisutnosti :values.',
  112. 'required_without' => 'Ovo polje je obavezno ako :values nedostaje.',
  113. 'required_without_all' => 'Ovo polje je obavezno ako nitko od :values nije prisutan.',
  114. 'same' => 'Vrijednost tog polja mora se podudarati s vrijednošću od :other.',
  115. 'size' => [
  116. 'array' => 'The content must contain :size items.',
  117. 'file' => 'The file size must be :size kilobytes.',
  118. 'numeric' => 'The value must be :size.',
  119. 'string' => 'The string must be :size characters.',
  120. ],
  121. 'starts_with' => 'To bi trebalo započeti s jednom od sljedećih stavki: :values.',
  122. 'string' => 'To mora biti žica.',
  123. 'timezone' => 'To bi trebala biti dopuštena zona.',
  124. 'unique' => 'To je već učinjeno.',
  125. 'uploaded' => 'To nije uspjelo preuzimanje.',
  126. 'url' => 'Ovaj format je neprihvatljiv.',
  127. 'uuid' => 'To bi trebao biti valjan UUID.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'custom-message',
  131. ],
  132. ],
  133. ];