|
| 1 | +const sr = { |
| 2 | + accepted : 'Polje :attribute mora biti prihvaćeno.', |
| 3 | + after : 'Polje :attribute mora biti nakon :date.', |
| 4 | + after_or_equal : 'Polje :attribute mora biti nakon ili na :date.', |
| 5 | + alpha : 'Polje :attribute može sadržati samo slova.', |
| 6 | + alpha_space : 'Polje :attribute može sadržati samo slova i razmake.', |
| 7 | + alpha_num : 'Polje :attribute može sadržati samo slova i brojeve.', |
| 8 | + alpha_num_space : 'Polje :attribute može sadržati samo slova, brojeve i razmake.', |
| 9 | + alpha_num_dash : 'Polje :attribute može sadržati samo slova, brojeve i crte.', |
| 10 | + alpha_num_dash_space : 'Polje :attribute može sadržati samo slova, brojeve, crte i razmake.', |
| 11 | + array : 'Polje :attribute mora biti niz.', |
| 12 | + before : 'Polje :attribute mora biti pre :date.', |
| 13 | + before_or_equal : 'Polje :attribute mora biti pre ili na :date.', |
| 14 | + between : 'Polje :attribute mora biti između :min i :max:type.', |
| 15 | + boolean : 'Polje :attribute mora biti istinitosna vrednost.', |
| 16 | + card_exp : 'Polje :attribute mora biti validan datum isteka.', |
| 17 | + card_num : 'Polje :attribute mora biti validan broj kreditne kartice.', |
| 18 | + currency : 'Polje :attribute mora biti validna valuta.', |
| 19 | + date : 'Polje :attribute mora biti datum.', |
| 20 | + date_equals : 'Polje :attribute mora biti na :date.', |
| 21 | + email : 'Polje :attribute mora biti validna email adresa.', |
| 22 | + in : 'Izabrano polje :attribute mora biti :values.', |
| 23 | + integer : 'Polje :attribute mora biti ceo broj.', |
| 24 | + max : 'Polje :attribute ne sme biti veće od :max:type.', |
| 25 | + min : 'Polje :attribute mora biti veće od :min:type.', |
| 26 | + not_in : 'Izabrano polje :attribute ne sme biti :values.', |
| 27 | + not_regex : 'Polje :attribute ne sme biti u određenom formatu.', |
| 28 | + numeric : 'Polje :attribute mora biti broj.', |
| 29 | + phone : 'Polje :attribute mora biti validan broj telefona.', |
| 30 | + regex : 'Polje :attribute mora biti u određenom formatu.', |
| 31 | + required : 'Polje :attribute je obavezno.', |
| 32 | + size : 'Polje :attribute mora biti :size:type.', |
| 33 | + string : 'Polje :attribute mora biti niska.', |
| 34 | + typeof : 'Polje :attribute nije ispravan tip :type.', |
| 35 | + url : 'Polje :attribute mora biti URL.', |
| 36 | +} |
| 37 | +SimpleReactValidator.addLocale('sr', sr); |
0 commit comments