jQuery UI 1.10 has already been released, and 1.11 is on the horizon (1.9 is marked "legacy" as of writing). 1.10 drops the compatibility layer for 1.8 API. So, users should definitely be encouraged to upgrade their code to move away from the deprecated 1.8 APIs. However, to take it one step at a time, this commit upgrades us to 1.9 first. That way we're at least not using an unsupported code base anymore, while at the same time not rolling out breaking changes. jQuery UI has redesigned many of its APIs[1], but compatibility with the jQuery UI 1.8 API is maintained throughout 1.9.x. * Base theme is now called "Smoothness". * Sorting the entries in Resources.php alphabetically to make it easier to ensure all files are listed when comparing them side-by-side. * Update dependencies to match the "Depends:" header inside the javascript files. * In jQuery UI 1.9, effect files were renamed to match the jquery.ui.*.js naming pattern. * New modules: - jquery.ui.menu - jquery.ui.spinner - jquery.ui.tooltip * Release notes: - http://blog.jqueryui.com/2012/10/jquery-ui-1-9-0/ - http://jqueryui.com/upgrade-guide/1.9/ - http://jqueryui.com/changelog/1.9.0/ - http://blog.jqueryui.com/2012/10/jquery-ui-1-9-1/ - http://jqueryui.com/changelog/1.9.1/ - http://blog.jqueryui.com/2012/11/jquery-ui-1-9-2/ [1] http://blog.jqueryui.com/2011/03/api-redesigns-the-past-present-and-future/ Bug: 47076 Change-Id: I0e10b42fb7c25b9d4704719f21c44c08f36ddfa7
23 lines
1 KiB
JavaScript
23 lines
1 KiB
JavaScript
/* 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: ['Не','По','Ут','Ср','Че','Пе','Су'],
|
||
weekHeader: 'Сед',
|
||
dateFormat: 'dd/mm/yy',
|
||
firstDay: 1,
|
||
isRTL: false,
|
||
showMonthAfterYear: false,
|
||
yearSuffix: ''};
|
||
$.datepicker.setDefaults($.datepicker.regional['sr']);
|
||
});
|