mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
20 lines
868 B
JavaScript
20 lines
868 B
JavaScript
|
/* Swedish initialisation for the jQuery UI date picker plugin. */
|
|||
|
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
|
|||
|
jQuery(function($){
|
|||
|
$.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ö'],
|
|||
|
dateFormat: 'yy-mm-dd', firstDay: 1,
|
|||
|
isRTL: false};
|
|||
|
$.datepicker.setDefaults($.datepicker.regional['sv']);
|
|||
|
});
|