]> source.dussan.org Git - jquery-ui.git/commitdiff
Fixed #4156 Serbian localizations
authorKeith Wood <kbwood.au@gmail.com>
Thu, 19 Feb 2009 10:30:43 +0000 (10:30 +0000)
committerKeith Wood <kbwood.au@gmail.com>
Thu, 19 Feb 2009 10:30:43 +0000 (10:30 +0000)
demos/datepicker/localization.html
demos/index.html
ui/i18n/ui.datepicker-sr-SR.js [new file with mode: 0644]
ui/i18n/ui.datepicker-sr.js [new file with mode: 0644]

index 027cc5eb5e1b2ad8189cf6b34e54e08690a79e9c..540757c4c59f65606be7a0699fc1cabfae8da7a5 100644 (file)
@@ -39,6 +39,8 @@
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sk.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sl.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sq.js"></script>
+       <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sr.js"></script>
+       <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sr-SR.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sv.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-th.js"></script>
        <script type="text/javascript" src="../../ui/i18n/ui.datepicker-tr.js"></script>
@@ -95,6 +97,8 @@
                <option value="pt-BR">Portuguese/Brazilian (Portugu&ecirc;s)</option>
                <option value="ro">Romanian (Rom&acirc;n&#259;)</option>
                <option value="ru">Russian (&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;)</option>
+               <option value="sr">Serbian (&#1089;&#1088;&#1087;&#1089;&#1082;&#1080; &#1112;&#1077;&#1079;&#1080;&#1082;)</option>
+               <option value="sr-SR">Serbian (srpski jezik)</option>
                <option value="sk">Slovak (Slovencina)</option>
                <option value="sl">Slovenian (Slovenski Jezik)</option>
                <option value="es">Spanish (Espa&ntilde;ol)</option>
index 3e3fd5647a59dbf6dd95c819947810b7ec75e718..be5a18ff578083d259e8e8c120ee6f6751493fda 100644 (file)
@@ -65,6 +65,8 @@
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-sk.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-sl.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-sq.js"></script>
+       <script type="text/javascript" src="../ui/i18n/ui.datepicker-sr.js"></script>
+       <script type="text/javascript" src="../ui/i18n/ui.datepicker-sr-SR.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-sv.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-th.js"></script>
        <script type="text/javascript" src="../ui/i18n/ui.datepicker-tr.js"></script>
diff --git a/ui/i18n/ui.datepicker-sr-SR.js b/ui/i18n/ui.datepicker-sr-SR.js
new file mode 100644 (file)
index 0000000..059fc38
--- /dev/null
@@ -0,0 +1,19 @@
+/* Serbian i18n for the jQuery UI date picker plugin. */\r
+/* Written by Dejan Dimić. */\r
+jQuery(function($){\r
+       $.datepicker.regional['sr-SR'] = {\r
+               closeText: 'Zatvori',\r
+               prevText: '&#x3c;',\r
+               nextText: '&#x3e;',\r
+               currentText: 'Danas',\r
+               monthNames: ['Januar','Februar','Mart','April','Maj','Jun',\r
+               'Jul','Avgust','Septembar','Oktobar','Novembar','Decembar'],\r
+               monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',\r
+               'Jul','Avg','Sep','Okt','Nov','Dec'],\r
+               dayNames: ['Nedelja','Ponedeljak','Utorak','Sreda','Četvrtak','Petak','Subota'],\r
+               dayNamesShort: ['Ned','Pon','Uto','Sre','Čet','Pet','Sub'],\r
+               dayNamesMin: ['Ne','Po','Ut','Sr','Če','Pe','Su'],\r
+               dateFormat: 'dd/mm/yy', firstDay: 1,\r
+               isRTL: false};\r
+       $.datepicker.setDefaults($.datepicker.regional['sr-SR']);\r
+});
diff --git a/ui/i18n/ui.datepicker-sr.js b/ui/i18n/ui.datepicker-sr.js
new file mode 100644 (file)
index 0000000..179458b
--- /dev/null
@@ -0,0 +1,19 @@
+/* Serbian i18n for the jQuery UI date picker plugin. */\r
+/* Written by Dejan Dimić. */\r
+jQuery(function($){\r
+       $.datepicker.regional['sr'] = {\r
+               closeText: 'Затвори',\r
+               prevText: '&#x3c;',\r
+               nextText: '&#x3e;',\r
+               currentText: 'Данас',\r
+               monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',\r
+               'Јул','Август','Септембар','Октобар','Новембар','Децембар'],\r
+               monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун',\r
+               'Јул','Авг','Сеп','Окт','Нов','Дец'],\r
+               dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],\r
+               dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],\r
+               dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],\r
+               dateFormat: 'dd/mm/yy', firstDay: 1,\r
+               isRTL: false};\r
+       $.datepicker.setDefaults($.datepicker.regional['sr']);\r
+});