2011-05-04 20:29:13 +00:00
|
|
|
/* Swedish initialisation for the jQuery UI date picker plugin. */
|
2008-06-04 02:34:33 +00:00
|
|
|
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
|
2015-08-24 13:00:11 +00:00
|
|
|
( function( factory ) {
|
2013-07-17 15:10:30 +00:00
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2015-08-24 13:00:11 +00:00
|
|
|
define( [ "../widgets/datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
2015-08-24 13:00:11 +00:00
|
|
|
}( function( datepicker ) {
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
datepicker.regional.sv = {
|
|
|
|
closeText: "Stäng",
|
|
|
|
prevText: "«Förra",
|
|
|
|
nextText: "Nästa»",
|
|
|
|
currentText: "Idag",
|
2017-03-01 10:22:01 +00:00
|
|
|
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ö" ],
|
2015-08-24 13:00:11 +00:00
|
|
|
weekHeader: "Ve",
|
|
|
|
dateFormat: "yy-mm-dd",
|
2014-02-19 11:55:50 +00:00
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
2015-08-24 13:00:11 +00:00
|
|
|
yearSuffix: "" };
|
|
|
|
datepicker.setDefaults( datepicker.regional.sv );
|
2014-02-19 11:55:50 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
return datepicker.regional.sv;
|
2013-07-17 15:10:30 +00:00
|
|
|
|
2015-08-24 13:00:11 +00:00
|
|
|
} ) );
|