1/* Norwegian initialisation for the jQuery UI date picker plugin. */ 2/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ 3 4( function( factory ) { 5 "use strict"; 6 7 if ( typeof define === "function" && define.amd ) { 8 9 // AMD. Register as an anonymous module. 10 define( [ "../widgets/datepicker" ], factory ); 11 } else { 12 13 // Browser globals 14 factory( jQuery.datepicker ); 15 } 16} )( function( datepicker ) { 17"use strict"; 18 19datepicker.regional.no = { 20 closeText: "Lukk", 21 prevText: "Forrige", 22 nextText: "Neste", 23 currentText: "I dag", 24 monthNames: [ 25 "januar", 26 "februar", 27 "mars", 28 "april", 29 "mai", 30 "juni", 31 "juli", 32 "august", 33 "september", 34 "oktober", 35 "november", 36 "desember" 37 ], 38 monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ], 39 dayNamesShort: [ "søn", "man", "tir", "ons", "tor", "fre", "lør" ], 40 dayNames: [ "søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag" ], 41 dayNamesMin: [ "sø", "ma", "ti", "on", "to", "fr", "lø" ], 42 weekHeader: "Uke", 43 dateFormat: "dd.mm.yy", 44 firstDay: 1, 45 isRTL: false, 46 showMonthAfterYear: false, 47 yearSuffix: "" 48}; 49datepicker.setDefaults( datepicker.regional.no ); 50 51return datepicker.regional.no; 52 53} ); 54