diff options
author | Keith Wood <kbwood.au@gmail.com> | 2009-02-19 10:30:43 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2009-02-19 10:30:43 +0000 |
commit | 3ef80b3b0f1e285a2be8df7d6138edf1342f89a2 (patch) | |
tree | 7a7de2637ab68b943453f2e11970d822f4ed7d00 | |
parent | 47cd5b6fca9ea36eee04165b7bf07448d5f34b27 (diff) | |
download | jquery-ui-3ef80b3b0f1e285a2be8df7d6138edf1342f89a2.tar.gz jquery-ui-3ef80b3b0f1e285a2be8df7d6138edf1342f89a2.zip |
Fixed #4156 Serbian localizations
-rw-r--r-- | demos/datepicker/localization.html | 4 | ||||
-rw-r--r-- | demos/index.html | 2 | ||||
-rw-r--r-- | ui/i18n/ui.datepicker-sr-SR.js | 19 | ||||
-rw-r--r-- | ui/i18n/ui.datepicker-sr.js | 19 |
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ês)</option> <option value="ro">Romanian (Română)</option> <option value="ru">Russian (Русский)</option> + <option value="sr">Serbian (српски језик)</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ñ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: '<',
+ 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']);
+}); |