2020-09-21 09:43:11 +00:00
|
|
|
FullCalendar.globalLocales.push(function () {
|
|
|
|
'use strict';
|
2019-06-14 07:33:43 +00:00
|
|
|
|
2020-09-21 09:43:11 +00:00
|
|
|
var sv = {
|
2020-11-25 09:31:52 +00:00
|
|
|
code: 'sv',
|
2020-09-21 09:43:11 +00:00
|
|
|
week: {
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
2020-11-25 09:31:52 +00:00
|
|
|
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
2020-09-21 09:43:11 +00:00
|
|
|
},
|
|
|
|
buttonText: {
|
2020-11-25 09:31:52 +00:00
|
|
|
prev: 'Förra',
|
|
|
|
next: 'Nästa',
|
|
|
|
today: 'Idag',
|
|
|
|
month: 'Månad',
|
|
|
|
week: 'Vecka',
|
|
|
|
day: 'Dag',
|
|
|
|
list: 'Program',
|
2020-09-21 09:43:11 +00:00
|
|
|
},
|
2021-11-24 23:12:36 +00:00
|
|
|
buttonHints: {
|
|
|
|
prev(buttonText) {
|
|
|
|
return `Föregående ${buttonText.toLocaleLowerCase()}`
|
|
|
|
},
|
|
|
|
next(buttonText) {
|
|
|
|
return `Nästa ${buttonText.toLocaleLowerCase()}`
|
|
|
|
},
|
|
|
|
today(buttonText) {
|
|
|
|
return (buttonText === 'Program' ? 'Detta' : 'Denna') + ' ' + buttonText.toLocaleLowerCase()
|
|
|
|
},
|
|
|
|
},
|
|
|
|
viewHint: '$0 vy',
|
|
|
|
navLinkHint: 'Gå till $0',
|
|
|
|
moreLinkHint(eventCnt) {
|
|
|
|
return `Visa ytterligare ${eventCnt} händelse${eventCnt === 1 ? '' : 'r'}`
|
|
|
|
},
|
2020-11-25 09:31:52 +00:00
|
|
|
weekText: 'v.',
|
2021-11-24 23:12:36 +00:00
|
|
|
weekTextLong: 'Vecka',
|
2020-11-25 09:31:52 +00:00
|
|
|
allDayText: 'Heldag',
|
|
|
|
moreLinkText: 'till',
|
|
|
|
noEventsText: 'Inga händelser att visa',
|
2021-11-24 23:12:36 +00:00
|
|
|
closeHint: 'Stäng',
|
|
|
|
timeHint: 'Klockan',
|
|
|
|
eventHint: 'Händelse',
|
2020-09-21 09:43:11 +00:00
|
|
|
};
|
2019-06-14 07:33:43 +00:00
|
|
|
|
2020-09-21 09:43:11 +00:00
|
|
|
return sv;
|
2019-06-14 07:33:43 +00:00
|
|
|
|
2020-09-21 09:43:11 +00:00
|
|
|
}());
|