From ea2d43813d01ce083b506fb940235c1775b2fd11 Mon Sep 17 00:00:00 2001 From: lukkoro <45566368+lukkoro@users.noreply.github.com> Date: Wed, 11 Sep 2019 17:05:11 +0200 Subject: [PATCH] Serbian locale Support --- src/locale/sr.js | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/locale/sr.js diff --git a/src/locale/sr.js b/src/locale/sr.js new file mode 100644 index 0000000..0c49d63 --- /dev/null +++ b/src/locale/sr.js @@ -0,0 +1,37 @@ +const sr = { + accepted : 'Polje :attribute mora biti prihvaćeno.', + after : 'Polje :attribute mora biti nakon :date.', + after_or_equal : 'Polje :attribute mora biti nakon ili na :date.', + alpha : 'Polje :attribute može sadržati samo slova.', + alpha_space : 'Polje :attribute može sadržati samo slova i razmake.', + alpha_num : 'Polje :attribute može sadržati samo slova i brojeve.', + alpha_num_space : 'Polje :attribute može sadržati samo slova, brojeve i razmake.', + alpha_num_dash : 'Polje :attribute može sadržati samo slova, brojeve i crte.', + alpha_num_dash_space : 'Polje :attribute može sadržati samo slova, brojeve, crte i razmake.', + array : 'Polje :attribute mora biti niz.', + before : 'Polje :attribute mora biti pre :date.', + before_or_equal : 'Polje :attribute mora biti pre ili na :date.', + between : 'Polje :attribute mora biti između :min i :max:type.', + boolean : 'Polje :attribute mora biti istinitosna vrednost.', + card_exp : 'Polje :attribute mora biti validan datum isteka.', + card_num : 'Polje :attribute mora biti validan broj kreditne kartice.', + currency : 'Polje :attribute mora biti validna valuta.', + date : 'Polje :attribute mora biti datum.', + date_equals : 'Polje :attribute mora biti na :date.', + email : 'Polje :attribute mora biti validna email adresa.', + in : 'Izabrano polje :attribute mora biti :values.', + integer : 'Polje :attribute mora biti ceo broj.', + max : 'Polje :attribute ne sme biti veće od :max:type.', + min : 'Polje :attribute mora biti veće od :min:type.', + not_in : 'Izabrano polje :attribute ne sme biti :values.', + not_regex : 'Polje :attribute ne sme biti u određenom formatu.', + numeric : 'Polje :attribute mora biti broj.', + phone : 'Polje :attribute mora biti validan broj telefona.', + regex : 'Polje :attribute mora biti u određenom formatu.', + required : 'Polje :attribute je obavezno.', + size : 'Polje :attribute mora biti :size:type.', + string : 'Polje :attribute mora biti niska.', + typeof : 'Polje :attribute nije ispravan tip :type.', + url : 'Polje :attribute mora biti URL.', +} +SimpleReactValidator.addLocale('sr', sr);