diff options
Diffstat (limited to 'ui/i18n/datepicker-nn.js')
-rw-r--r-- | ui/i18n/datepicker-nn.js | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ui/i18n/datepicker-nn.js b/ui/i18n/datepicker-nn.js index bacd481a0..967351c95 100644 --- a/ui/i18n/datepicker-nn.js +++ b/ui/i18n/datepicker-nn.js @@ -1,6 +1,8 @@ /* Norwegian Nynorsk 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.nn = { closeText: "Lukk", @@ -31,10 +34,10 @@ datepicker.regional.nn = { "november", "desember" ], - monthNamesShort: [ "jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des" ], - dayNamesShort: [ "sun","mån","tys","ons","tor","fre","lau" ], - dayNames: [ "sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag" ], - dayNamesMin: [ "su","må","ty","on","to","fr","la" ], + monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ], + dayNamesShort: [ "sun", "mån", "tys", "ons", "tor", "fre", "lau" ], + dayNames: [ "sundag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag" ], + dayNamesMin: [ "su", "må", "ty", "on", "to", "fr", "la" ], weekHeader: "Veke", dateFormat: "dd.mm.yy", firstDay: 1, @@ -46,4 +49,4 @@ datepicker.setDefaults( datepicker.regional.nn ); return datepicker.regional.nn; -} ) ); +} ); |