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
923 B
JavaScript
23 lines
923 B
JavaScript
/* Czech initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Tomas Muller (tomas@tomas-muller.net). */
|
|
jQuery(function($){
|
|
$.datepicker.regional['cs'] = {
|
|
closeText: 'Zavřít',
|
|
prevText: '<Dříve',
|
|
nextText: 'Později>',
|
|
currentText: 'Nyní',
|
|
monthNames: ['leden','únor','březen','duben','květen','červen',
|
|
'červenec','srpen','září','říjen','listopad','prosinec'],
|
|
monthNamesShort: ['led','úno','bře','dub','kvě','čer',
|
|
'čvc','srp','zář','říj','lis','pro'],
|
|
dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
|
|
dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
|
|
dayNamesMin: ['ne','po','út','st','čt','pá','so'],
|
|
weekHeader: 'Týd',
|
|
dateFormat: 'dd.mm.yy',
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: ''};
|
|
$.datepicker.setDefaults($.datepicker.regional['cs']);
|
|
});
|