Skip to content

Commit

Permalink
Fixed #4156 Serbian localizations
Browse files Browse the repository at this point in the history
  • Loading branch information
kbwood committed Feb 19, 2009
1 parent 47cd5b6 commit 3ef80b3
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions demos/datepicker/localization.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
19 changes: 19 additions & 0 deletions ui/i18n/ui.datepicker-sr-SR.js
Original file line number Diff line number Diff line change
@@ -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']);
});
19 changes: 19 additions & 0 deletions ui/i18n/ui.datepicker-sr.js
Original file line number Diff line number Diff line change
@@ -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']);
});

0 comments on commit 3ef80b3

Please sign in to comment.