mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
9c0d83f2e5
The term for "Today" in Danish is "I dag" not "Idag". This is a common misspelling in the Danish language. see https://dsn.dk/?retskriv=idag Dansk Sprognævn (DSN) is the authority over the Danish language. Closes gh-1862
38 lines
1.1 KiB
JavaScript
38 lines
1.1 KiB
JavaScript
/* Danish initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Jan Christensen ( deletestuff@gmail.com). */
|
|
( 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.da = {
|
|
closeText: "Luk",
|
|
prevText: "<Forrige",
|
|
nextText: "Næste>",
|
|
currentText: "I dag",
|
|
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" ],
|
|
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ø" ],
|
|
weekHeader: "Uge",
|
|
dateFormat: "dd-mm-yy",
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional.da );
|
|
|
|
return datepicker.regional.da;
|
|
|
|
} ) );
|