Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serbian locale #144

Merged
merged 2 commits into from
Sep 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions src/locale/sr.js
Original file line number Diff line number Diff line change
@@ -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);