datepicker-pl.js 1.2 KB

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