Skip to content

Commit 512b720

Browse files
committed
Add serbian cyrillic and latin locales
1 parent ad7c00e commit 512b720

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Serbian latin translation for bootstrap-datepicker
3+
* Bojan Milosavlević <milboj@gmail.com>
4+
*/
5+
;(function($){
6+
$.fn.datepicker.dates['rs'] = {
7+
days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"],
8+
daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
9+
daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"],
10+
months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"],
11+
monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
12+
today: "Danas"
13+
};
14+
}(jQuery));

js/locales/bootstrap-datepicker.rs.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Serbian cyrillic translation for bootstrap-datepicker
3+
* Bojan Milosavlević <milboj@gmail.com>
4+
*/
5+
;(function($){
6+
$.fn.datepicker.dates['rs'] = {
7+
days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"],
8+
daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"],
9+
daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"],
10+
months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"],
11+
monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"],
12+
today: "Данас"
13+
};
14+
}(jQuery));

0 commit comments

Comments
 (0)