2008-06-04 02:34:33 +00:00
|
|
|
/* Polish initialisation for the jQuery UI date picker plugin. */
|
|
|
|
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
|
|
|
define([ "../jquery.ui.datepicker" ], factory );
|
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
datepicker.regional['pl'] = {
|
2009-01-04 18:11:41 +00:00
|
|
|
closeText: 'Zamknij',
|
2011-02-19 14:54:15 +00:00
|
|
|
prevText: '<Poprzedni',
|
|
|
|
nextText: 'Następny>',
|
2009-01-04 18:11:41 +00:00
|
|
|
currentText: 'Dziś',
|
2008-06-04 02:34:33 +00:00
|
|
|
monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
|
|
|
|
'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
|
|
|
|
monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
|
|
|
|
'Lip','Sie','Wrz','Pa','Lis','Gru'],
|
2010-04-06 13:49:53 +00:00
|
|
|
dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
|
2008-06-04 02:34:33 +00:00
|
|
|
dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
|
|
|
|
dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
|
2009-07-29 08:33:33 +00:00
|
|
|
weekHeader: 'Tydz',
|
2010-05-11 12:30:22 +00:00
|
|
|
dateFormat: 'dd.mm.yy',
|
2009-04-01 10:34:16 +00:00
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
2013-07-17 15:10:30 +00:00
|
|
|
datepicker.setDefaults(datepicker.regional['pl']);
|
|
|
|
|
|
|
|
return datepicker.regional['pl'];
|
|
|
|
|
|
|
|
}));
|