diff options
Diffstat (limited to 'public/javascripts/i18n/datepicker-da.js')
-rw-r--r-- | public/javascripts/i18n/datepicker-da.js | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/public/javascripts/i18n/datepicker-da.js b/public/javascripts/i18n/datepicker-da.js new file mode 100644 index 000000000..d2de7550d --- /dev/null +++ b/public/javascripts/i18n/datepicker-da.js @@ -0,0 +1,40 @@ +/* Danish initialisation for the jQuery UI date picker plugin. */ +/* Written by Jan Christensen ( deletestuff@gmail.com). */ +( function( factory ) { + "use strict"; + + if ( typeof define === "function" && define.amd ) { + + // AMD. Register as an anonymous module. + define( [ "../widgets/datepicker" ], factory ); + } else { + + // Browser globals + factory( jQuery.datepicker ); + } +} )( function( datepicker ) { +"use strict"; + +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; + +} ); |