|
| 1 | +<?php |
| 2 | + |
| 3 | +return [ |
| 4 | + /* |
| 5 | + |-------------------------------------------------------------------------- |
| 6 | + | Validation Language Lines |
| 7 | + |-------------------------------------------------------------------------- |
| 8 | + | |
| 9 | + | The following language lines contain the default error messages used by |
| 10 | + | the validator class. Some of these rules have multiple versions such |
| 11 | + | as the size rules. Feel free to tweak each of these messages here. |
| 12 | + | |
| 13 | + */ |
| 14 | + |
| 15 | + 'accepted' => ':attribute mora biti sprejet.', |
| 16 | + 'active_url' => ':attribute ni pravilen.', |
| 17 | + 'after' => ':attribute mora biti za datumom :date.', |
| 18 | + 'after_or_equal' => ':attribute mora biti za ali enak :date.', |
| 19 | + 'alpha' => ':attribute lahko vsebuje samo črke.', |
| 20 | + 'alpha_dash' => ':attribute lahko vsebuje samo črke, številke in črtice.', |
| 21 | + 'alpha_num' => ':attribute lahko vsebuje samo črke in številke.', |
| 22 | + 'array' => ':attribute mora biti polje.', |
| 23 | + 'before' => ':attribute mora biti pred datumom :date.', |
| 24 | + 'before_or_equal' => ':attribute mora biti pred ali enak :date.', |
| 25 | + 'between' => [ |
| 26 | + 'numeric' => ':attribute mora biti med :min in :max.', |
| 27 | + 'file' => ':attribute mora biti med :min in :max kilobajti.', |
| 28 | + 'string' => ':attribute mora biti med :min in :max znaki.', |
| 29 | + 'array' => ':attribute mora imeti med :min in :max elementov.', |
| 30 | + ], |
| 31 | + 'boolean' => ':attribute polje mora biti 1 ali 0', |
| 32 | + 'confirmed' => ':attribute potrditev se ne ujema.', |
| 33 | + 'date' => ':attribute ni veljaven datum.', |
| 34 | + 'date_equals' => ':attribute mora biti enak :date.', |
| 35 | + 'date_format' => ':attribute se ne ujema z obliko :format.', |
| 36 | + 'different' => ':attribute in :other mora biti drugačen.', |
| 37 | + 'digits' => ':attribute mora imeti :digits cifer.', |
| 38 | + 'digits_between' => ':attribute mora biti med :min in :max ciframi.', |
| 39 | + 'dimensions' => ':attribute ima napačne dimenzije slike.', |
| 40 | + 'distinct' => ':attribute je duplikat.', |
| 41 | + 'email' => ':attribute mora biti veljaven e-poštni naslov.', |
| 42 | + 'ends_with' => 'The :attribute must end with one of the following: :values.', |
| 43 | + 'exists' => 'izbran :attribute je neveljaven.', |
| 44 | + 'file' => ':attribute mora biti datoteka.', |
| 45 | + 'filled' => ':attribute mora biti izpolnjen.', |
| 46 | + 'gt' => [ |
| 47 | + 'numeric' => ':attribute mora biti večji od :value.', |
| 48 | + 'file' => ':attribute mora biti večji od :value kilobajtov.', |
| 49 | + 'string' => ':attribute mora imeti več kot :value znakov.', |
| 50 | + 'array' => ':attribute mora imeti več kot :value elementov.', |
| 51 | + ], |
| 52 | + 'gte' => [ |
| 53 | + 'numeric' => ':attribute mora biti večji ali enak :value.', |
| 54 | + 'file' => ':attribute mora biti večji ali enak :value kilobajtov.', |
| 55 | + 'string' => ':attribute mora imeti število znakov večje ali enako :value.', |
| 56 | + 'array' => ':attribute mora imeti število elementov enako ali večje od :value.', |
| 57 | + ], |
| 58 | + 'image' => ':attribute mora biti slika.', |
| 59 | + 'in' => 'izbran :attribute je neveljaven.', |
| 60 | + 'in_array' => ':attribute ne obstaja v :other.', |
| 61 | + 'integer' => ':attribute mora biti število.', |
| 62 | + 'ip' => ':attribute mora biti veljaven IP naslov.', |
| 63 | + 'ipv4' => ':attribute mora biti veljaven IPv4 naslov.', |
| 64 | + 'ipv6' => ':attribute mora biti veljaven IPv6 naslov.', |
| 65 | + 'json' => ':attribute mora biti veljaven JSON tekst.', |
| 66 | + 'lt' => [ |
| 67 | + 'numeric' => ':attribute mora biti manjši od :value.', |
| 68 | + 'file' => ':attribute mora biti manjši od :value kilobajtov.', |
| 69 | + 'string' => ':attribute mora imeti manj kot :value znakov.', |
| 70 | + 'array' => ':attribute mora imeti manj kot :value elementov.', |
| 71 | + ], |
| 72 | + 'lte' => [ |
| 73 | + 'numeric' => ':attribute mora biti manjši ali enak :value.', |
| 74 | + 'file' => ':attribute mora biti manjši ali enak od :value kilobajtov.', |
| 75 | + 'string' => ':attribute mora imeti število znakov manjše ali enako :value.', |
| 76 | + 'array' => ':attribute mora imeti število elementov manjše ali enako :value.', |
| 77 | + ], |
| 78 | + 'max' => [ |
| 79 | + 'numeric' => ':attribute ne sme biti večje od :max.', |
| 80 | + 'file' => ':attribute ne sme biti večje :max kilobajtov.', |
| 81 | + 'string' => ':attribute ne sme biti večje :max znakov.', |
| 82 | + 'array' => ':attribute ne smejo imeti več kot :max elementov.', |
| 83 | + ], |
| 84 | + 'mimes' => ':attribute mora biti datoteka tipa: :values.', |
| 85 | + 'mimetypes' => ':attribute mora biti datoteka tipa: :values.', |
| 86 | + 'min' => [ |
| 87 | + 'numeric' => ':attribute mora biti vsaj dolžine :min.', |
| 88 | + 'file' => ':attribute mora imeti vsaj :min kilobajtov.', |
| 89 | + 'string' => ':attribute mora imeti vsaj :min znakov.', |
| 90 | + 'array' => ':attribute mora imeti vsaj :min elementov.', |
| 91 | + ], |
| 92 | + 'not_in' => 'Izbran :attribute je neveljaven.', |
| 93 | + 'not_regex' => 'Format :attribute je neveljaven.', |
| 94 | + 'numeric' => ':attribute mora biti število.', |
| 95 | + 'present' => 'Polje :attribute mora biti prisotno.', |
| 96 | + 'regex' => 'Format polja :attribute je neveljaven.', |
| 97 | + 'required' => 'Polje :attribute je obvezno.', |
| 98 | + 'required_if' => 'Polje :attribute je obvezno, če je :other enak :value.', |
| 99 | + 'required_unless' => 'Polje :attribute je obvezno, razen če je :other v :values.', |
| 100 | + 'required_with' => 'Polje :attribute je obvezno, če je :values prisoten.', |
| 101 | + 'required_with_all' => 'Polje :attribute je obvezno, če so :values prisoten.', |
| 102 | + 'required_without' => 'Polje :attribute je obvezno, če :values ni prisoten.', |
| 103 | + 'required_without_all' => 'Polje :attribute je obvezno, če :values niso prisotni.', |
| 104 | + 'same' => 'Polje :attribute in :other se morata ujemati.', |
| 105 | + 'size' => [ |
| 106 | + 'numeric' => ':attribute mora biti :size.', |
| 107 | + 'file' => ':attribute mora biti :size kilobajtov.', |
| 108 | + 'string' => ':attribute mora biti :size znakov.', |
| 109 | + 'array' => ':attribute mora vsebovati :size elementov.', |
| 110 | + ], |
| 111 | + 'starts_with' => ':attribute se mora začeti z eno od naslednjih vrednosti: :values', |
| 112 | + 'string' => ':attribute mora biti tekst.', |
| 113 | + 'timezone' => ':attribute mora biti časovna cona.', |
| 114 | + 'unique' => ':attribute je že zaseden.', |
| 115 | + 'uploaded' => 'Nalaganje :attribute ni uspelo.', |
| 116 | + 'url' => ':attribute format je neveljaven.', |
| 117 | + 'uuid' => ':attribute mora biti veljaven UUID.', |
| 118 | + |
| 119 | + /* |
| 120 | + |-------------------------------------------------------------------------- |
| 121 | + | Custom Validation Language Lines |
| 122 | + |-------------------------------------------------------------------------- |
| 123 | + | |
| 124 | + | Here you may specify custom validation messages for attributes using the |
| 125 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 126 | + | specify a specific custom language line for a given attribute rule. |
| 127 | + | |
| 128 | + */ |
| 129 | + |
| 130 | + 'custom' => [ |
| 131 | + 'attribute-name' => [ |
| 132 | + 'rule-name' => 'Prilagojeno sporočilo', |
| 133 | + ], |
| 134 | + ], |
| 135 | + |
| 136 | + /* |
| 137 | + |-------------------------------------------------------------------------- |
| 138 | + | Custom Validation Attributes |
| 139 | + |-------------------------------------------------------------------------- |
| 140 | + | |
| 141 | + | The following language lines are used to swap attribute place-holders |
| 142 | + | with something more reader friendly such as E-Mail Address instead |
| 143 | + | of "email". This simply helps us make messages a little cleaner. |
| 144 | + | |
| 145 | + */ |
| 146 | + |
| 147 | + 'attributes' => [ |
| 148 | + ], |
| 149 | +]; |
0 commit comments