mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Add German localization
This commit is contained in:
parent
817ce38555
commit
ddbcc5d29d
38
ui/i18n/datepicker-de-AT.js
Normal file
38
ui/i18n/datepicker-de-AT.js
Normal file
@ -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" ];
|
||||||
|
|
||||||
|
} ) );
|
Loading…
Reference in New Issue
Block a user