jquery.ui.datepicker.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Danish initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Jan Christensen ( deletestuff@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.da = {
  15. closeText: "Luk",
  16. prevText: "Forrige",
  17. nextText: "Næste",
  18. currentText: "I dag",
  19. monthNames: [ "Januar", "Februar", "Marts", "April", "Maj", "Juni",
  20. "Juli", "August", "September", "Oktober", "November", "December" ],
  21. monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun",
  22. "Jul", "Aug", "Sep", "Okt", "Nov", "Dec" ],
  23. dayNames: [ "Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag" ],
  24. dayNamesShort: [ "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør" ],
  25. dayNamesMin: [ "Sø", "Ma", "Ti", "On", "To", "Fr", "Lø" ],
  26. weekHeader: "Uge",
  27. dateFormat: "dd-mm-yy",
  28. firstDay: 1,
  29. isRTL: false,
  30. showMonthAfterYear: false,
  31. yearSuffix: "" };
  32. datepicker.setDefaults( datepicker.regional.da );
  33. return datepicker.regional.da;
  34. } );