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). */
|
2013-07-17 15:10:30 +00:00
|
|
|
(function( factory ) {
|
|
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
|
|
|
|
// AMD. Register as an anonymous module.
|
2013-12-02 18:36:12 +00:00
|
|
|
define([ "../datepicker" ], factory );
|
2013-07-17 15:10:30 +00:00
|
|
|
} else {
|
|
|
|
|
|
|
|
// Browser globals
|
|
|
|
factory( jQuery.datepicker );
|
|
|
|
}
|
|
|
|
}(function( datepicker ) {
|
|
|
|
datepicker.regional['sv'] = {
|
2009-01-04 18:11:41 +00:00
|
|
|
closeText: 'Stäng',
|
2012-02-27 16:48:17 +00:00
|
|
|
prevText: '«Förra',
|
2011-02-19 14:54:15 +00:00
|
|
|
nextText: 'Nästa»',
|
2009-01-04 18:11:41 +00:00
|
|
|
currentText: 'Idag',
|
2012-02-27 16:48:17 +00:00
|
|
|
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'],
|
2008-06-04 02:34:33 +00:00
|
|
|
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ö'],
|
2009-07-29 08:33:33 +00:00
|
|
|
weekHeader: 'Ve',
|
2012-02-27 16:48:17 +00:00
|
|
|
dateFormat: 'yy-mm-dd',
|
2009-04-01 10:34:16 +00:00
|
|
|
firstDay: 1,
|
|
|
|
isRTL: false,
|
|
|
|
showMonthAfterYear: false,
|
|
|
|
yearSuffix: ''};
|
2013-07-17 15:10:30 +00:00
|
|
|
datepicker.setDefaults(datepicker.regional['sv']);
|
|
|
|
|
|
|
|
return datepicker.regional['sv'];
|
|
|
|
|
|
|
|
}));
|