datepicker-sk.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Slovak initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Vojtech Rinik (vojto@hmm.sk). */
  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.sk = {
  13. closeText: "Zavrieť",
  14. prevText: "<Predchádzajúci",
  15. nextText: "Nasledujúci>",
  16. currentText: "Dnes",
  17. monthNames: [ "január","február","marec","apríl","máj","jún",
  18. "júl","august","september","október","november","december" ],
  19. monthNamesShort: [ "Jan","Feb","Mar","Apr","Máj","Jún",
  20. "Júl","Aug","Sep","Okt","Nov","Dec" ],
  21. dayNames: [ "nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota" ],
  22. dayNamesShort: [ "Ned","Pon","Uto","Str","Štv","Pia","Sob" ],
  23. dayNamesMin: [ "Ne","Po","Ut","St","Št","Pia","So" ],
  24. weekHeader: "Ty",
  25. dateFormat: "dd.mm.yy",
  26. firstDay: 1,
  27. isRTL: false,
  28. showMonthAfterYear: false,
  29. yearSuffix: "" };
  30. datepicker.setDefaults( datepicker.regional.sk );
  31. return datepicker.regional.sk;
  32. } ) );