summaryrefslogtreecommitdiffstats
path: root/public/javascripts/i18n/datepicker-pl.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/i18n/datepicker-pl.js')
-rw-r--r--public/javascripts/i18n/datepicker-pl.js45
1 files changed, 24 insertions, 21 deletions
diff --git a/public/javascripts/i18n/datepicker-pl.js b/public/javascripts/i18n/datepicker-pl.js
index a04de8e8a..4d31086a5 100644
--- a/public/javascripts/i18n/datepicker-pl.js
+++ b/public/javascripts/i18n/datepicker-pl.js
@@ -1,37 +1,40 @@
/* Polish initialisation for the jQuery UI date picker plugin. */
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
-(function( factory ) {
+( function( factory ) {
+ "use strict";
+
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
- define([ "../datepicker" ], factory );
+ define( [ "../widgets/datepicker" ], factory );
} else {
// Browser globals
factory( jQuery.datepicker );
}
-}(function( datepicker ) {
+} )( function( datepicker ) {
+"use strict";
-datepicker.regional['pl'] = {
- closeText: 'Zamknij',
- prevText: '<Poprzedni',
- nextText: 'Następny>',
- currentText: 'Dziś',
- 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'],
- dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
- dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
- dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
- weekHeader: 'Tydz',
- dateFormat: 'dd.mm.yy',
+datepicker.regional.pl = {
+ closeText: "Zamknij",
+ prevText: "Poprzedni",
+ nextText: "Następny",
+ currentText: "Dziś",
+ 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" ],
+ dayNames: [ "Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota" ],
+ dayNamesShort: [ "Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So" ],
+ dayNamesMin: [ "N", "Pn", "Wt", "Śr", "Cz", "Pt", "So" ],
+ weekHeader: "Tydz",
+ dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
- yearSuffix: ''};
-datepicker.setDefaults(datepicker.regional['pl']);
+ yearSuffix: "" };
+datepicker.setDefaults( datepicker.regional.pl );
-return datepicker.regional['pl'];
+return datepicker.regional.pl;
-}));
+} );