From: Keith Wood Date: Thu, 19 Feb 2009 10:30:43 +0000 (+0000) Subject: Fixed #4156 Serbian localizations X-Git-Tag: 1.7~62 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ef80b3b0f1e285a2be8df7d6138edf1342f89a2;p=jquery-ui.git Fixed #4156 Serbian localizations --- diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 027cc5eb5..540757c4c 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -39,6 +39,8 @@ + + @@ -95,6 +97,8 @@ + + diff --git a/demos/index.html b/demos/index.html index 3e3fd5647..be5a18ff5 100644 --- a/demos/index.html +++ b/demos/index.html @@ -65,6 +65,8 @@ + + diff --git a/ui/i18n/ui.datepicker-sr-SR.js b/ui/i18n/ui.datepicker-sr-SR.js new file mode 100644 index 000000000..059fc3831 --- /dev/null +++ b/ui/i18n/ui.datepicker-sr-SR.js @@ -0,0 +1,19 @@ +/* Serbian i18n for the jQuery UI date picker plugin. */ +/* Written by Dejan Dimić. */ +jQuery(function($){ + $.datepicker.regional['sr-SR'] = { + closeText: 'Zatvori', + prevText: '<', + nextText: '>', + currentText: 'Danas', + monthNames: ['Januar','Februar','Mart','April','Maj','Jun', + 'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'], + monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun', + 'Jul','Avg','Sep','Okt','Nov','Dec'], + dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'], + dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'], + dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'], + dateFormat: 'dd/mm/yy', firstDay: 1, + isRTL: false}; + $.datepicker.setDefaults($.datepicker.regional['sr-SR']); +}); diff --git a/ui/i18n/ui.datepicker-sr.js b/ui/i18n/ui.datepicker-sr.js new file mode 100644 index 000000000..179458ba0 --- /dev/null +++ b/ui/i18n/ui.datepicker-sr.js @@ -0,0 +1,19 @@ +/* Serbian i18n for the jQuery UI date picker plugin. */ +/* Written by Dejan Dimić. */ +jQuery(function($){ + $.datepicker.regional['sr'] = { + closeText: 'Затвори', + prevText: '<', + nextText: '>', + currentText: 'Данас', + monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун', + 'Јул','Август','Септембар','Октобар','Новембар','Децембар'], + monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун', + 'Јул','Авг','Сеп','Окт','Нов','Дец'], + dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'], + dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'], + dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'], + dateFormat: 'dd/mm/yy', firstDay: 1, + isRTL: false}; + $.datepicker.setDefaults($.datepicker.regional['sr']); +});