diff options
Diffstat (limited to 'ui/i18n/datepicker-sv.js')
-rw-r--r-- | ui/i18n/datepicker-sv.js | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/ui/i18n/datepicker-sv.js b/ui/i18n/datepicker-sv.js index 1ceb529f5..6fe51e3e7 100644 --- a/ui/i18n/datepicker-sv.js +++ b/ui/i18n/datepicker-sv.js @@ -1,6 +1,8 @@ /* Swedish initialisation for the jQuery UI date picker plugin. */ /* Written by Anders Ekdahl ( anders@nomadiz.se). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.sv = { closeText: "Stäng", prevText: "«Förra", nextText: "Nästa»", currentText: "Idag", - monthNames: [ "januari","februari","mars","april","maj","juni", - "juli","augusti","september","oktober","november","december" ], - monthNamesShort: [ "jan.","feb.","mars","apr.","maj","juni", - "juli","aug.","sep.","okt.","nov.","dec." ], - dayNamesShort: [ "sön","mån","tis","ons","tor","fre","lör" ], - dayNames: [ "söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag" ], - dayNamesMin: [ "sö","må","ti","on","to","fr","lö" ], + monthNames: [ "januari", "februari", "mars", "april", "maj", "juni", + "juli", "augusti", "september", "oktober", "november", "december" ], + monthNamesShort: [ "jan.", "feb.", "mars", "apr.", "maj", "juni", + "juli", "aug.", "sep.", "okt.", "nov.", "dec." ], + dayNamesShort: [ "sön", "mån", "tis", "ons", "tor", "fre", "lör" ], + dayNames: [ "söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag" ], + dayNamesMin: [ "sö", "må", "ti", "on", "to", "fr", "lö" ], weekHeader: "Ve", dateFormat: "yy-mm-dd", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.sv ); return datepicker.regional.sv; -} ) ); +} ); |