diff options
author | Florian Wegscheider <flo.wegscheider@gmail.com> | 2020-01-17 08:09:37 +0100 |
---|---|---|
committer | Felix Nagel <fnagel@users.noreply.github.com> | 2020-03-23 22:09:38 +0100 |
commit | ddbcc5d29d069336ddaeab221db91220b95da175 (patch) | |
tree | 977751fd24a20a63f6976d0ba03ede00e9b05b35 /ui/i18n | |
parent | 817ce38555f07981f929fb4b1229fc42574cf85c (diff) | |
download | jquery-ui-ddbcc5d29d069336ddaeab221db91220b95da175.tar.gz jquery-ui-ddbcc5d29d069336ddaeab221db91220b95da175.zip |
Datepicker: Add German localization
Diffstat (limited to 'ui/i18n')
-rw-r--r-- | ui/i18n/datepicker-de-AT.js | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ui/i18n/datepicker-de-AT.js b/ui/i18n/datepicker-de-AT.js new file mode 100644 index 000000000..99416d242 --- /dev/null +++ b/ui/i18n/datepicker-de-AT.js @@ -0,0 +1,38 @@ +/* German/Austrian initialisation for the jQuery UI date picker plugin. */ +/* Based on the de initialisation. */ + +( function( factory ) { + if ( typeof define === "function" && define.amd ) { + + // AMD. Register as an anonymous module. + define( [ "../widgets/datepicker" ], factory ); + } else { + + // Browser globals + factory( jQuery.datepicker ); + } +}( function( datepicker ) { + +datepicker.regional[ "de-AT" ] = { + closeText: "Schließen", + prevText: "<Zurück", + nextText: "Vor>", + currentText: "Heute", + monthNames: [ "Jänner","Februar","März","April","Mai","Juni", + "Juli","August","September","Oktober","November","Dezember" ], + monthNamesShort: [ "Jän","Feb","Mär","Apr","Mai","Jun", + "Jul","Aug","Sep","Okt","Nov","Dez" ], + dayNames: [ "Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag" ], + dayNamesShort: [ "So","Mo","Di","Mi","Do","Fr","Sa" ], + dayNamesMin: [ "So","Mo","Di","Mi","Do","Fr","Sa" ], + weekHeader: "KW", + dateFormat: "dd.mm.yy", + firstDay: 1, + isRTL: false, + showMonthAfterYear: false, + yearSuffix: "" }; +datepicker.setDefaults( datepicker.regional[ "de-AT" ] ); + +return datepicker.regional[ "de-AT" ]; + +} ) ); |