diff options
Diffstat (limited to 'ui/i18n/datepicker-sv.js')
-rw-r--r-- | ui/i18n/datepicker-sv.js | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/ui/i18n/datepicker-sv.js b/ui/i18n/datepicker-sv.js index 87e02cc00..92686efa4 100644 --- a/ui/i18n/datepicker-sv.js +++ b/ui/i18n/datepicker-sv.js @@ -1,37 +1,37 @@ /* Swedish initialisation for the jQuery UI date picker plugin. */ /* Written by Anders Ekdahl ( anders@nomadiz.se). */ -(function( factory ) { +( function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. - define([ "../widgets/datepicker" ], factory ); + define( [ "../widgets/datepicker" ], factory ); } else { // Browser globals factory( jQuery.datepicker ); } -}(function( datepicker ) { +}( function( datepicker ) { -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','Mar','Apr','Maj','Jun', - 'Jul','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', +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","Mar","Apr","Maj","Jun", + "Jul","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, isRTL: false, showMonthAfterYear: false, - yearSuffix: ''}; -datepicker.setDefaults(datepicker.regional['sv']); + yearSuffix: "" }; +datepicker.setDefaults( datepicker.regional.sv ); -return datepicker.regional['sv']; +return datepicker.regional.sv; -})); +} ) ); |