|
| 1 | +<?php |
| 2 | + |
| 3 | +return array( |
| 4 | + |
| 5 | + /* |
| 6 | + |-------------------------------------------------------------------------- |
| 7 | + | Validation Language Lines |
| 8 | + |-------------------------------------------------------------------------- |
| 9 | + | |
| 10 | + | The following language lines contain the default error messages used by |
| 11 | + | the validator class. Some of these rules have multiple versions such |
| 12 | + | such as the size rules. Feel free to tweak each of these messages. |
| 13 | + | |
| 14 | + */ |
| 15 | + "accepted" => "Polje :attribute mora biti prihvaćeno.", |
| 16 | + "active_url" => "Polje :attribute nije ispravan URL.", |
| 17 | + "after" => "Polje :attribute mora biti datum nakon :date.", |
| 18 | + "alpha" => "Polje :attribute smije sadržavati samo slova.", |
| 19 | + "alpha_dash" => "Polje :attribute smije sadržavati samo slova, brojeve i crtice.", |
| 20 | + "alpha_num" => "Polje :attribute smije sadržavati samo slova i brojeve.", |
| 21 | + "array" => "Polje :attribute mora biti niz.", |
| 22 | + "before" => "Polje :attribute mora biti datum prije :date.", |
| 23 | + "between" => array( |
| 24 | + "numeric" => "Polje :attribute mora biti između :min - :max.", |
| 25 | + "file" => "Polje :attribute mora biti između :min - :max kilobajta.", |
| 26 | + "string" => "Polje :attribute mora biti između :min - :max znakova.", |
| 27 | + "array" => "Polje :attribute mora imati između :min - :max stavki." |
| 28 | + ), |
| 29 | + "boolean" => "Polje :attribute mora biti false ili true.", |
| 30 | + "confirmed" => "Potvrda polja :attribute se ne podudara.", |
| 31 | + "date" => "Polje :attribute nije ispravan datum.", |
| 32 | + "date_format" => "Polje :attribute ne podudara s formatom :format.", |
| 33 | + "different" => "Polja :attribute i :other moraju biti različita.", |
| 34 | + "digits" => "Polje :attribute mora sadržavati :digits znamenki.", |
| 35 | + "digits_between" => "Polje :attribute mora imati između :min i :max znamenki.", |
| 36 | + "email" => "Polje :attribute mora biti ispravna e-mail adresa.", |
| 37 | + "exists" => "Odabrano polje :attribute nije ispravno.", |
| 38 | + "image" => "Polje :attribute mora biti slika.", |
| 39 | + "in" => "Odabrano polje :attribute nije ispravno.", |
| 40 | + "integer" => "Polje :attribute mora biti broj.", |
| 41 | + "ip" => "Polje :attribute mora biti ispravna IP adresa.", |
| 42 | + "max" => array( |
| 43 | + "numeric" => "Polje :attribute mora biti manje od :max.", |
| 44 | + "file" => "Polje :attribute mora biti manje od :max kilobajta.", |
| 45 | + "string" => "Polje :attribute mora sadržavati manje od :max znakova.", |
| 46 | + "array" => "Polje :attribute ne smije imati više od :max stavki." |
| 47 | + ), |
| 48 | + "mimes" => "Polje :attribute mora biti datoteka tipa: :values.", |
| 49 | + "min" => array( |
| 50 | + "numeric" => "Polje :attribute mora biti najmanje :min.", |
| 51 | + "file" => "Polje :attribute mora biti najmanje :min kilobajta.", |
| 52 | + "string" => "Polje :attribute mora sadržavati najmanje :min znakova.", |
| 53 | + "array" => "Polje :attribute mora sadržavati najmanje :min stavki." |
| 54 | + ), |
| 55 | + "not_in" => "Odabrano polje :attribute nije ispravno.", |
| 56 | + "numeric" => "Polje :attribute mora biti broj.", |
| 57 | + "regex" => "Polje :attribute se ne podudara s formatom.", |
| 58 | + "required" => "Polje :attribute je obavezno.", |
| 59 | + "required_if" => "Polje :attribute je obavezno kada polje :other sadrži :value.", |
| 60 | + "required_with" => "Polje :attribute je obavezno kada postoji polje :values.", |
| 61 | + "required_with_all" => "Polje :attribute je obavezno kada postje polja :values.", |
| 62 | + "required_without" => "Polje :attribute je obavezno kada ne postoji polje :values.", |
| 63 | + "required_without_all" => "Polje :attribute je obavezno kada nijedno od polja :values ne postoji.", |
| 64 | + "same" => "Polja :attribute i :other se moraju podudarati.", |
| 65 | + "size" => array( |
| 66 | + "numeric" => "Polje :attribute mora biti :size.", |
| 67 | + "file" => "Polje :attribute mora biti :size kilobajta.", |
| 68 | + "string" => "Polje :attribute mora biti :size znakova.", |
| 69 | + "array" => "Polje :attribute mora sadržavati :size stavki." |
| 70 | + ), |
| 71 | + "timezone" => "Polje :attribute mora biti ispravna vremenska zona.", |
| 72 | + "unique" => "Polje :attribute već postoji.", |
| 73 | + "url" => "Polje :attribute nije ispravnog formata.", |
| 74 | + |
| 75 | + /* |
| 76 | + |-------------------------------------------------------------------------- |
| 77 | + | Custom Validation Language Lines |
| 78 | + |-------------------------------------------------------------------------- |
| 79 | + | |
| 80 | + | Here you may specify custom validation messages for attributes using the |
| 81 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 82 | + | specify a specific custom language line for a given attribute rule. |
| 83 | + | |
| 84 | + */ |
| 85 | + |
| 86 | + 'custom' => array( |
| 87 | + 'attribute-name' => array( |
| 88 | + 'rule-name' => 'custom-message', |
| 89 | + ), |
| 90 | + ), |
| 91 | + |
| 92 | + /* |
| 93 | + |-------------------------------------------------------------------------- |
| 94 | + | Custom Validation Attributes |
| 95 | + |-------------------------------------------------------------------------- |
| 96 | + | |
| 97 | + | The following language lines are used to swap attribute place-holders |
| 98 | + | with something more reader friendly such as E-Mail Address instead |
| 99 | + | of "email". This simply helps us make messages a little cleaner. |
| 100 | + | |
| 101 | + */ |
| 102 | + |
| 103 | + 'attributes' => array(), |
| 104 | + |
| 105 | +); |
0 commit comments