r2108 - in trunk: demos demos/datepicker ui/i18n

r2108 - in trunk: demos demos/datepicker ui/i18n

Author: kbwood.au
Date: Thu Feb 19 02:30:43 2009
New Revision: 2108
Added:
trunk/ui/i18n/ui.datepicker-sr-SR.js
trunk/ui/i18n/ui.datepicker-sr.js
Modified:
trunk/demos/datepicker/localization.html
trunk/demos/index.html
Log:
Fixed #4156 Serbian localizations
Modified: trunk/demos/datepicker/localization.html
==============================================================================
--- trunk/demos/datepicker/localization.html    (original)
+++ trunk/demos/datepicker/localization.html    Thu Feb 19 02:30:43 2009
@@ -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>
Modified: trunk/demos/index.html
==============================================================================
--- trunk/demos/index.html    (original)
+++ trunk/demos/index.html    Thu Feb 19 02:30:43 2009
@@ -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>
Added: trunk/ui/i18n/ui.datepicker-sr-SR.js
==============================================================================
--- (empty file)
+++ trunk/ui/i18n/ui.datepicker-sr-SR.js    Thu Feb 19 02:30:43 2009
@@ -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: '&#x3c;',
+        nextText: '&#x3e;',
+        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']);
+});
Added: trunk/ui/i18n/ui.datepicker-sr.js
==============================================================================
--- (empty file)
+++ trunk/ui/i18n/ui.datepicker-sr.js    Thu Feb 19 02:30:43 2009
@@ -0,0 +1,19 @@
+/* Serbian i18n for the jQuery UI date picker plugin. */
+/* Written by Dejan Dimić. */
+jQuery(function($){
+    $.datepicker.regional['sr'] = {
+        closeText: 'Затвори',
+        prevText: '&#x3c;',
+        nextText: '&#x3e;',
+        currentText: 'Данас',
+        monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
+        'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
+        monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун',
+        'Јул','Авг','Сеп','Окт','Нов','Дец'],
+        dayNames:
['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
+        dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
+        dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
+        dateFormat: 'dd/mm/yy', firstDay: 1,
+        isRTL: false};
+    $.datepicker.setDefaults($.datepicker.regional['sr']);
+});