|
| 1 | +<?php |
| 2 | + |
| 3 | +return array( |
| 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 | +| such as the size rules. Feel free to tweak each of these messages. |
| 12 | +| |
| 13 | +*/ |
| 14 | + "accepted" => "Polje :attribute mora biti prihvaćeno.", |
| 15 | + "active_url" => "Polje :attribute nije validan URL.", |
| 16 | + "after" => "Polje :attribute mora biti datum poslije :date.", |
| 17 | + "alpha" => "Polje :attribute može sadržati samo slova.", |
| 18 | + "alpha_dash" => "Polje :attribute može sadržati samo slova, brojeve i povlake.", |
| 19 | + "alpha_num" => "Polje :attribute može sadržati samo slova i brojeve.", |
| 20 | + "array" => "Polje :attribute mora biti niz.", |
| 21 | + "before" => "Polje :attribute mora biti datum prije :date.", |
| 22 | + "between" => array( |
| 23 | + "numeric" => "Polje :attribute mora biti izmedju :min - :max.", |
| 24 | + "file" => "Fajl :attribute mora biti izmedju :min - :max kilobajta.", |
| 25 | + "string" => "Polje :attribute mora biti izmedju :min - :max karaktera.", |
| 26 | + "array" => "Polje :attribute mora biti između :min - :max karaktera." |
| 27 | + ), |
| 28 | + "confirmed" => "Potvrda polja :attribute se ne poklapa.", |
| 29 | + "date" => "Polje :attribute nema ispravan datum.", |
| 30 | + "date_format" => "Polje :attribute nema odgovarajući format :format.", |
| 31 | + "different" => "Polja :attribute i :other moraju biti različita.", |
| 32 | + "digits" => "Polje :attribute mora da sadži :digits brojeve.", |
| 33 | + "digits_between" => "POlje :attribute mora biti između :min i :max broja.", |
| 34 | + "email" => "Format polja :attribute nije validan.", |
| 35 | + "exists" => "Odabrano polje :attribute nije validno.", |
| 36 | + "image" => "Polje :attribute mora biti slika.", |
| 37 | + "in" => "Odabrano polje :attribute nije validno.", |
| 38 | + "integer" => "Polje :attribute mora biti broj.", |
| 39 | + "ip" => "Polje :attribute mora biti validna IP adresa.", |
| 40 | + "max" => array( |
| 41 | + "numeric" => "Polje :attribute mora biti manje od :max.", |
| 42 | + "file" => "Polje :attribute mora biti manje od :max kilobajta.", |
| 43 | + "string" => "Polje :attribute mora sadržati manje od :max karaktera.", |
| 44 | + "array" => "Polje :attribute mora sadržati manje od :max karaktera." |
| 45 | + ), |
| 46 | + "mimes" => "Polje :attribute mora biti fajl tipa: :values.", |
| 47 | + "min" => array( |
| 48 | + "numeric" => "Polje :attribute mora biti najmanje :min.", |
| 49 | + "file" => "Fajl :attribute mora biti najmanje :min kilobajta.", |
| 50 | + "string" => "Polje :attribute mora sadržati najmanje :min karaktera.", |
| 51 | + "array" => "Polje :attribute mora sadržati najmanje :min karaktera." |
| 52 | + ), |
| 53 | + "not_in" => "Odabrani element polja :attribute nije validan.", |
| 54 | + "numeric" => "Polje :attribute mora biti broj.", |
| 55 | + "regex" => "Polje :attribute ima neispravan format.", |
| 56 | + "required" => "Polje :attribute je obavezno.", |
| 57 | + "required_if" => "Polje :attribute je obavezno kada :other je :value.", |
| 58 | + "required_with" => "Polje :attribute je obavezno kada je :values prikazana.", |
| 59 | + "required_without" => "Polje :attribute je obavezno kada :values nije prikazano.", |
| 60 | + "same" => "Polja :attribute i :other se moraju poklapati.", |
| 61 | + "size" => array( |
| 62 | + "numeric" => "Polje :attribute mora biti :size.", |
| 63 | + "file" => "Fajl :attribute mora biti :size kilobajta.", |
| 64 | + "string" => "Polje :attribute mora biti :size karaktera.", |
| 65 | + "array" => "Polje :attribute mora biti :size karaktera." |
| 66 | + ), |
| 67 | + "unique" => "Polje :attribute već postoji.", |
| 68 | + "url" => "Format polja :attribute nije validan.", |
| 69 | + |
| 70 | + /* |
| 71 | +|-------------------------------------------------------------------------- |
| 72 | +| Custom Validation Language Lines |
| 73 | +|-------------------------------------------------------------------------- |
| 74 | +| |
| 75 | +| Here you may specify custom validation messages for attributes using the |
| 76 | +| convention "attribute.rule" to name the lines. This makes it quick to |
| 77 | +| specify a specific custom language line for a given attribute rule. |
| 78 | +| |
| 79 | +*/ |
| 80 | + |
| 81 | + 'custom' => array(), |
| 82 | + |
| 83 | + /* |
| 84 | +|-------------------------------------------------------------------------- |
| 85 | +| Custom Validation Attributes |
| 86 | +|-------------------------------------------------------------------------- |
| 87 | +| |
| 88 | +| The following language lines are used to swap attribute place-holders |
| 89 | +| with something more reader friendly such as E-Mail Address instead |
| 90 | +| of "email". This simply helps us make messages a little cleaner. |
| 91 | +| |
| 92 | +*/ |
| 93 | + |
| 94 | + 'attributes' => array(), |
| 95 | + |
| 96 | +); |
0 commit comments