|
| 1 | +/* German initialisation for the jQuery UI date picker plugin. */ |
| 2 | +/* Written by Milian Wolff ([email protected]). */ |
| 3 | +( function( factory ) { |
| 4 | + if ( typeof define === "function" && define.amd ) { |
| 5 | + |
| 6 | + // AMD. Register as an anonymous module. |
| 7 | + define( [ "../widgets/datepicker" ], factory ); |
| 8 | + } else { |
| 9 | + |
| 10 | + // Browser globals |
| 11 | + factory( jQuery.datepicker ); |
| 12 | + } |
| 13 | +}( function( datepicker ) { |
| 14 | + |
| 15 | +datepicker.regional.de = { |
| 16 | + closeText: "Schließen", |
| 17 | + prevText: "<Zurück", |
| 18 | + nextText: "Vor>", |
| 19 | + currentText: "Heute", |
| 20 | + monthNames: [ "Jänner","Februar","März","April","Mai","Juni", |
| 21 | + "Juli","August","September","Oktober","November","Dezember" ], |
| 22 | + monthNamesShort: [ "Jän","Feb","Mär","Apr","Mai","Jun", |
| 23 | + "Jul","Aug","Sep","Okt","Nov","Dez" ], |
| 24 | + dayNames: [ "Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag" ], |
| 25 | + dayNamesShort: [ "So","Mo","Di","Mi","Do","Fr","Sa" ], |
| 26 | + dayNamesMin: [ "So","Mo","Di","Mi","Do","Fr","Sa" ], |
| 27 | + weekHeader: "KW", |
| 28 | + dateFormat: "dd.mm.yy", |
| 29 | + firstDay: 1, |
| 30 | + isRTL: false, |
| 31 | + showMonthAfterYear: false, |
| 32 | + yearSuffix: "" }; |
| 33 | +datepicker.setDefaults( datepicker.regional.de ); |
| 34 | + |
| 35 | +return datepicker.regional.de; |
| 36 | + |
| 37 | +} ) ); |
0 commit comments