2011-05-04 20:29:13 +00:00
|
|
|
/* Danish initialisation for the jQuery UI date picker plugin. */
|
2008-06-04 02:34:33 +00:00
|
|
|
/* Written by Jan Christensen ( deletestuff@gmail.com). */
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2013-12-02 18:36:12 +00:00
|
|
|
define([ "../datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
datepicker.regional['da'] = {
|
2009-01-04 18:11:41 +00:00
|
|
|
closeText: 'Luk',
|
2012-02-27 16:48:17 +00:00
|
|
|
prevText: '<Forrige',
|
2011-02-19 14:54:15 +00:00
|
|
|
nextText: 'Næste>',
|
2009-01-04 18:11:41 +00:00
|
|
|
currentText: 'Idag',
|
2012-02-27 16:48:17 +00:00
|
|
|
monthNames: ['Januar','Februar','Marts','April','Maj','Juni',
|
|
|
|
'Juli','August','September','Oktober','November','December'],
|
|
|
|
monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
|
|
|
|
'Jul','Aug','Sep','Okt','Nov','Dec'],
|
2008-06-04 02:34:33 +00:00
|
|
|
dayNames: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'],
|
|
|
|
dayNamesShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'],
|
|
|
|
dayNamesMin: ['Sø','Ma','Ti','On','To','Fr','Lø'],
|
2009-07-29 08:33:33 +00:00
|
|
|
weekHeader: 'Uge',
|
2012-02-27 16:48:17 +00:00
|
|
|
dateFormat: 'dd-mm-yy',
|
2009-11-16 20:20:47 +00:00
|
|
|
firstDay: 1,
|
2009-04-01 10:34:16 +00:00
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
2013-07-17 15:10:30 +00:00
|
|
|
datepicker.setDefaults(datepicker.regional['da']);
|
|
|
|
|
|
|
|
return datepicker.regional['da'];
|
|
|
|
|
|
|
|
}));
|