|
| 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 validan URL.", |
| 17 | + "after" => "Polje :attribute mora biti datum poslije :date.", |
| 18 | + "alpha" => "Polje :attribute može sadržati samo slova.", |
| 19 | + "alpha_dash" => "Polje :attribute može sadržati samo slova, brojeve i crtice.", |
| 20 | + "alpha_num" => "Polje :attribute može sadržati samo slova i brojeve.", |
| 21 | + "array" => "Polje :attribute mora sadržati određen broj stavki.", |
| 22 | + "before" => "Polje :attribute mora biti datum prije :date.", |
| 23 | + "between" => array( |
| 24 | + "numeric" => "Polje :attribute mora biti između :min - :max.", |
| 25 | + "file" => "Fajl :attribute mora biti između :min - :max kilobajta.", |
| 26 | + "string" => "Polje :attribute mora sadržati između :min - :max karaktera.", |
| 27 | + "array" => "Polje :attribute mora sadržati između :min - :max stavki." |
| 28 | + ), |
| 29 | + "confirmed" => "Potvrda polja :attribute se ne poklapa.", |
| 30 | + "date" => "Polje :attribute nije važeći datum.", |
| 31 | + "date_format" => "Polje :attribute nije u formatu :format.", |
| 32 | + "different" => "Polja :attribute i :other moraju biti različita.", |
| 33 | + "digits" => "Polje :attribute mora sadržati :digits cifara.", |
| 34 | + "digits_between" => "Polje :attribute mora biti izemđu :min i :max cifri.", |
| 35 | + "email" => "Format polja :attribute nije validan.", |
| 36 | + "exists" => "Odabrano polje :attribute nije validno.", |
| 37 | + "image" => "Polje :attribute mora biti slika.", |
| 38 | + "in" => "Odabrano polje :attribute nije validno.", |
| 39 | + "integer" => "Polje :attribute mora biti broj.", |
| 40 | + "ip" => "Polje :attribute mora biti validna IP adresa.", |
| 41 | + "max" => array( |
| 42 | + "numeric" => "Polje :attribute mora biti manje od :max.", |
| 43 | + "file" => "Polje :attribute mora biti manje od :max kilobajta.", |
| 44 | + "string" => "Polje :attribute mora sadržati manje od :max karaktera.", |
| 45 | + "array" => "Polje :attribute ne smije da image više od :max stavki." |
| 46 | + ), |
| 47 | + "mimes" => "Polje :attribute mora biti fajl tipa: :values.", |
| 48 | + "min" => array( |
| 49 | + "numeric" => "Polje :attribute mora biti najmanje :min.", |
| 50 | + "file" => "Fajl :attribute mora biti najmanje :min kilobajta.", |
| 51 | + "string" => "Polje :attribute mora sadržati najmanje :min karaktera.", |
| 52 | + "array" => "Polje :attribute mora sadrzati najmanje :min stavke." |
| 53 | + ), |
| 54 | + "not_in" => "Odabrani element polja :attribute nije validan.", |
| 55 | + "numeric" => "Polje :attribute mora biti broj.", |
| 56 | + "regex" => "Format polja :attribute nije validan.", |
| 57 | + "required" => "Polje :attribute je obavezno.", |
| 58 | + "required_if" => "Polje :attribute je potrebno kada polje :other sadrži :value.", |
| 59 | + "required_with" => "Polje :attribute je obavezno kada polje :values je prisutan.", |
| 60 | + "required_with_all" => "Polje :attribute je obavezno kada polja :values nijesu prazna.", |
| 61 | + "required_without" => "Polje :attribute je potrebno kada polje :values nije prazno.", |
| 62 | + "required_without_all" => "Polje :attribute je potrebno kada nijedno od polja :values nije prisutno ili prazno.", |
| 63 | + "same" => "Polja :attribute i :other se moraju poklapati.", |
| 64 | + "size" => array( |
| 65 | + "numeric" => "Polje :attribute mora biti :size.", |
| 66 | + "file" => "Fajl :attribute mora biti :size kilobajta.", |
| 67 | + "string" => "Polje :attribute mora biti :size karaktera.", |
| 68 | + "array" => "Polje :attribute mora sadržati :size stavki." |
| 69 | + ), |
| 70 | + "unique" => "Vrijednost za polje :attribute već postoji.", |
| 71 | + "url" => "Format polja :attribute ne važi.", |
| 72 | + |
| 73 | + /* |
| 74 | + |-------------------------------------------------------------------------- |
| 75 | + | Custom Validation Language Lines |
| 76 | + |-------------------------------------------------------------------------- |
| 77 | + | |
| 78 | + | Here you may specify custom validation messages for attributes using the |
| 79 | + | convention "attribute.rule" to name the lines. This makes it quick to |
| 80 | + | specify a specific custom language line for a given attribute rule. |
| 81 | + | |
| 82 | + */ |
| 83 | + |
| 84 | + 'custom' => array( |
| 85 | + 'attribute-name' => array( |
| 86 | + 'rule-name' => 'custom-message', |
| 87 | + ), |
| 88 | + ), |
| 89 | + |
| 90 | + /* |
| 91 | + |-------------------------------------------------------------------------- |
| 92 | + | Custom Validation Attributes |
| 93 | + |-------------------------------------------------------------------------- |
| 94 | + | |
| 95 | + | The following language lines are used to swap attribute place-holders |
| 96 | + | with something more reader friendly such as E-Mail Address instead |
| 97 | + | of "email". This simply helps us make messages a little cleaner. |
| 98 | + | |
| 99 | + */ |
| 100 | + |
| 101 | + 'attributes' => array(), |
| 102 | + |
| 103 | +); |
0 commit comments