jquery.ui.datepicker.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* German initialisation for the jQuery UI date picker plugin. */
  2. /* Written by Milian Wolff (mail@milianw.de). */
  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.de = {
  15. closeText: "Schließen",
  16. prevText: "Zurück",
  17. nextText: "Vor",
  18. currentText: "Heute",
  19. monthNames: [ "Januar", "Februar", "März", "April", "Mai", "Juni",
  20. "Juli", "August", "September", "Oktober", "November", "Dezember" ],
  21. monthNamesShort: [ "Jan", "Feb", "Mär", "Apr", "Mai", "Jun",
  22. "Jul", "Aug", "Sep", "Okt", "Nov", "Dez" ],
  23. dayNames: [ "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" ],
  24. dayNamesShort: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ],
  25. dayNamesMin: [ "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" ],
  26. weekHeader: "KW",
  27. dateFormat: "dd.mm.yy",
  28. firstDay: 1,
  29. isRTL: false,
  30. showMonthAfterYear: false,
  31. yearSuffix: "" };
  32. datepicker.setDefaults( datepicker.regional.de );
  33. return datepicker.regional.de;
  34. } );