jquery.ui.datepicker.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Polish initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
  3. ( function( factory ) {
  4. "use strict";
  5. if ( typeof define === "function" && define.amd ) {
  6. // AMD. Register as an anonymous module.
  7. define( [ "../widgets/datepicker" ], factory );
  8. } else {
  9. // Browser globals
  10. factory( jQuery.datepicker );
  11. }
  12. } )( function( datepicker ) {
  13. "use strict";
  14. datepicker.regional.pl = {
  15. closeText: "Zamknij",
  16. prevText: "Poprzedni",
  17. nextText: "Następny",
  18. currentText: "Dziś",
  19. monthNames: [ "Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec",
  20. "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień" ],
  21. monthNamesShort: [ "Sty", "Lu", "Mar", "Kw", "Maj", "Cze",
  22. "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru" ],
  23. dayNames: [ "Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota" ],
  24. dayNamesShort: [ "Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So" ],
  25. dayNamesMin: [ "N", "Pn", "Wt", "Śr", "Cz", "Pt", "So" ],
  26. weekHeader: "Tydz",
  27. dateFormat: "dd.mm.yy",
  28. firstDay: 1,
  29. isRTL: false,
  30. showMonthAfterYear: false,
  31. yearSuffix: "" };
  32. datepicker.setDefaults( datepicker.regional.pl );
  33. return datepicker.regional.pl;
  34. } );