mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
347c7c4db1
Make code identation consistent with every other source.
38 lines
1.1 KiB
JavaScript
38 lines
1.1 KiB
JavaScript
/* Swedish initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
|
|
(function( factory ) {
|
|
if ( typeof define === "function" && define.amd ) {
|
|
|
|
// AMD. Register as an anonymous module.
|
|
define([ "../datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.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',
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: ''};
|
|
datepicker.setDefaults(datepicker.regional['sv']);
|
|
|
|
return datepicker.regional['sv'];
|
|
|
|
}));
|