Skip to content

Commit ddbcc5d

Browse files
florianwegfnagel
authored andcommitted
Datepicker: Add German localization
1 parent 817ce38 commit ddbcc5d

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

ui/i18n/datepicker-de-AT.js

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

0 commit comments

Comments
 (0)