mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
1216e2aaf5
Ref #9464 Ref gh-1029
37 lines
1.1 KiB
JavaScript
37 lines
1.1 KiB
JavaScript
/* German initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Milian Wolff (mail@milianw.de). */
|
|
(function( factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define([ "../jquery.ui.datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.datepicker );
|
|
}
|
|
}(function( datepicker ) {
|
|
datepicker.regional['de'] = {
|
|
closeText: 'Schließen',
|
|
prevText: '<Zurück',
|
|
nextText: 'Vor>',
|
|
currentText: 'Heute',
|
|
monthNames: ['Januar','Februar','März','April','Mai','Juni',
|
|
'Juli','August','September','Oktober','November','Dezember'],
|
|
monthNamesShort: ['Jan','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']);
|
|
|
|
return datepicker.regional['de'];
|
|
|
|
}));
|