diff options
Diffstat (limited to 'ui/i18n/datepicker-nb.js')
-rw-r--r-- | ui/i18n/datepicker-nb.js | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ui/i18n/datepicker-nb.js b/ui/i18n/datepicker-nb.js index eb1112bc5..b4fd237b9 100644 --- a/ui/i18n/datepicker-nb.js +++ b/ui/i18n/datepicker-nb.js @@ -1,6 +1,8 @@ /* Norwegian Bokmål initialisation for the jQuery UI date picker plugin. */ /* Written by Bjørn Johansen (post@bjornjohansen.no). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.nb = { closeText: "Lukk", @@ -31,10 +34,10 @@ datepicker.regional.nb = { "november", "desember" ], - monthNamesShort: [ "jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des" ], - dayNamesShort: [ "søn","man","tir","ons","tor","fre","lør" ], - dayNames: [ "søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag" ], - dayNamesMin: [ "sø","ma","ti","on","to","fr","lø" ], + monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ], + dayNamesShort: [ "søn", "man", "tir", "ons", "tor", "fre", "lør" ], + dayNames: [ "søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag" ], + dayNamesMin: [ "sø", "ma", "ti", "on", "to", "fr", "lø" ], weekHeader: "Uke", dateFormat: "dd.mm.yy", firstDay: 1, @@ -46,4 +49,4 @@ datepicker.setDefaults( datepicker.regional.nb ); return datepicker.regional.nb; -} ) ); +} ); |