aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2009-02-19 10:30:43 +0000
committerKeith Wood <kbwood.au@gmail.com>2009-02-19 10:30:43 +0000
commit3ef80b3b0f1e285a2be8df7d6138edf1342f89a2 (patch)
tree7a7de2637ab68b943453f2e11970d822f4ed7d00
parent47cd5b6fca9ea36eee04165b7bf07448d5f34b27 (diff)
downloadjquery-ui-3ef80b3b0f1e285a2be8df7d6138edf1342f89a2.tar.gz
jquery-ui-3ef80b3b0f1e285a2be8df7d6138edf1342f89a2.zip
Fixed #4156 Serbian localizations
-rw-r--r--demos/datepicker/localization.html4
-rw-r--r--demos/index.html2
-rw-r--r--ui/i18n/ui.datepicker-sr-SR.js19
-rw-r--r--ui/i18n/ui.datepicker-sr.js19
4 files changed, 44 insertions, 0 deletions
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 @@
<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>
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 @@
<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
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: '&#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']);
+});
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: '&#x3c;',
+ nextText: '&#x3e;',
+ currentText: 'Данас',
+ monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун',
+ 'Јул','Август','Септембар','Октобар','Новембар','Децембар'],
+ monthNamesShort: ['Јан','Феб','Мар','Апр','Мај','Јун',
+ 'Јул','Авг','Сеп','Окт','Нов','Дец'],
+ dayNames: ['Недеља','Понедељак','Уторак','Среда','Четвртак','Петак','Субота'],
+ dayNamesShort: ['Нед','Пон','Уто','Сре','Чет','Пет','Суб'],
+ dayNamesMin: ['Не','По','Ут','Ср','Че','Пе','Су'],
+ dateFormat: 'dd/mm/yy', firstDay: 1,
+ isRTL: false};
+ $.datepicker.setDefaults($.datepicker.regional['sr']);
+});