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' => ':attribute mora biti sprejet.',
  14. 'accepted_if' => 'Polje mora biti sprejeto, če je :other :value.',
  15. 'active_url' => ':attribute ni pravilen.',
  16. 'after' => ':attribute mora biti za datumom :date.',
  17. 'after_or_equal' => ':attribute mora biti za ali enak :date.',
  18. 'alpha' => ':attribute lahko vsebuje samo črke.',
  19. 'alpha_dash' => ':attribute lahko vsebuje samo črke, številke in črtice.',
  20. 'alpha_num' => ':attribute lahko vsebuje samo črke in številke.',
  21. 'array' => ':attribute mora biti polje.',
  22. 'attached' => 'Ta :attribute je že priložena.',
  23. 'before' => ':attribute mora biti pred datumom :date.',
  24. 'before_or_equal' => ':attribute mora biti pred ali enak :date.',
  25. 'between' => [
  26. 'array' => ':attribute mora imeti med :min in :max elementov.',
  27. 'file' => ':attribute mora biti med :min in :max kilobajti.',
  28. 'numeric' => ':attribute mora biti med :min in :max.',
  29. 'string' => ':attribute mora biti med :min in :max znaki.',
  30. ],
  31. 'boolean' => ':attribute polje mora biti 1 ali 0',
  32. 'confirmed' => ':attribute potrditev se ne ujema.',
  33. 'current_password' => 'Geslo ni veljavno.',
  34. 'date' => ':attribute ni veljaven datum.',
  35. 'date_equals' => ':attribute mora biti enak :date.',
  36. 'date_format' => ':attribute se ne ujema z obliko :format.',
  37. 'declined' => 'The :attribute must be declined.',
  38. 'declined_if' => 'The :attribute must be declined when :other is :value.',
  39. 'different' => ':attribute in :other mora biti drugačen.',
  40. 'digits' => ':attribute mora imeti :digits cifer.',
  41. 'digits_between' => ':attribute mora biti med :min in :max ciframi.',
  42. 'dimensions' => ':attribute ima napačne dimenzije slike.',
  43. 'distinct' => ':attribute je duplikat.',
  44. 'email' => ':attribute mora biti veljaven e-poštni naslov.',
  45. 'ends_with' => ':attribute se mora končati z eno od naslednjih vrednosti: :values.',
  46. 'exists' => 'izbran :attribute je neveljaven.',
  47. 'file' => ':attribute mora biti datoteka.',
  48. 'filled' => ':attribute mora biti izpolnjen.',
  49. 'gt' => [
  50. 'array' => ':attribute mora imeti več kot :value elementov.',
  51. 'file' => ':attribute mora biti večji od :value kilobajtov.',
  52. 'numeric' => ':attribute mora biti večji od :value.',
  53. 'string' => ':attribute mora imeti več kot :value znakov.',
  54. ],
  55. 'gte' => [
  56. 'array' => ':attribute mora imeti število elementov enako ali večje od :value.',
  57. 'file' => ':attribute mora biti večji ali enak :value kilobajtov.',
  58. 'numeric' => ':attribute mora biti večji ali enak :value.',
  59. 'string' => ':attribute mora imeti število znakov večje ali enako :value.',
  60. ],
  61. 'image' => ':attribute mora biti slika.',
  62. 'in' => 'izbran :attribute je neveljaven.',
  63. 'in_array' => ':attribute ne obstaja v :other.',
  64. 'integer' => ':attribute mora biti število.',
  65. 'ip' => ':attribute mora biti veljaven IP naslov.',
  66. 'ipv4' => ':attribute mora biti veljaven IPv4 naslov.',
  67. 'ipv6' => ':attribute mora biti veljaven IPv6 naslov.',
  68. 'json' => ':attribute mora biti veljaven JSON tekst.',
  69. 'lt' => [
  70. 'array' => ':attribute mora imeti manj kot :value elementov.',
  71. 'file' => ':attribute mora biti manjši od :value kilobajtov.',
  72. 'numeric' => ':attribute mora biti manjši od :value.',
  73. 'string' => ':attribute mora imeti manj kot :value znakov.',
  74. ],
  75. 'lte' => [
  76. 'array' => ':attribute mora imeti število elementov manjše ali enako :value.',
  77. 'file' => ':attribute mora biti manjši ali enak od :value kilobajtov.',
  78. 'numeric' => ':attribute mora biti manjši ali enak :value.',
  79. 'string' => ':attribute mora imeti število znakov manjše ali enako :value.',
  80. ],
  81. 'max' => [
  82. 'array' => ':attribute ne smejo imeti več kot :max elementov.',
  83. 'file' => ':attribute ne sme biti večje :max kilobajtov.',
  84. 'numeric' => ':attribute ne sme biti večje od :max.',
  85. 'string' => ':attribute ne sme biti večje :max znakov.',
  86. ],
  87. 'mimes' => ':attribute mora biti datoteka tipa: :values.',
  88. 'mimetypes' => ':attribute mora biti datoteka tipa: :values.',
  89. 'min' => [
  90. 'array' => ':attribute mora imeti vsaj :min elementov.',
  91. 'file' => ':attribute mora imeti vsaj :min kilobajtov.',
  92. 'numeric' => ':attribute mora biti vsaj dolžine :min.',
  93. 'string' => ':attribute mora imeti vsaj :min znakov.',
  94. ],
  95. 'multiple_of' => ':attribute mora biti večkratnik od :value',
  96. 'not_in' => 'Izbran :attribute je neveljaven.',
  97. 'not_regex' => 'Format :attribute je neveljaven.',
  98. 'numeric' => ':attribute mora biti število.',
  99. 'password' => 'Greslo ni pravilno.',
  100. 'present' => 'Polje :attribute mora biti prisotno.',
  101. 'prohibited' => 'Polje :attribute je prepovedano.',
  102. 'prohibited_if' => 'Polje :attribute je prepovedano, ko je :other :value.',
  103. 'prohibited_unless' => 'Polje :attribute je prepovedano, razen če je :other v :values.',
  104. 'prohibits' => 'To polje prepoveduje prisotnost :other.',
  105. 'regex' => 'Format polja :attribute je neveljaven.',
  106. 'relatable' => 'Ta :attribute morda ni povezan s tem virom.',
  107. 'required' => 'Polje :attribute je obvezno.',
  108. 'required_if' => 'Polje :attribute je obvezno, če je :other enak :value.',
  109. 'required_unless' => 'Polje :attribute je obvezno, razen če je :other v :values.',
  110. 'required_with' => 'Polje :attribute je obvezno, če je :values prisoten.',
  111. 'required_with_all' => 'Polje :attribute je obvezno, če so :values prisoten.',
  112. 'required_without' => 'Polje :attribute je obvezno, če :values ni prisoten.',
  113. 'required_without_all' => 'Polje :attribute je obvezno, če :values niso prisotni.',
  114. 'same' => 'Polje :attribute in :other se morata ujemati.',
  115. 'size' => [
  116. 'array' => ':attribute mora vsebovati :size elementov.',
  117. 'file' => ':attribute mora biti :size kilobajtov.',
  118. 'numeric' => ':attribute mora biti :size.',
  119. 'string' => ':attribute mora biti :size znakov.',
  120. ],
  121. 'starts_with' => ':attribute se mora začeti z eno od naslednjih vrednosti: :values',
  122. 'string' => ':attribute mora biti tekst.',
  123. 'timezone' => ':attribute mora biti časovna cona.',
  124. 'unique' => ':attribute je že zaseden.',
  125. 'uploaded' => 'Nalaganje :attribute ni uspelo.',
  126. 'url' => ':attribute format je neveljaven.',
  127. 'uuid' => ':attribute mora biti veljaven UUID.',
  128. 'custom' => [
  129. 'attribute-name' => [
  130. 'rule-name' => 'Prilagojeno sporočilo',
  131. ],
  132. ],
  133. ];