AdminLTE/plugins/fullcalendar/locales/sv.js

48 lines
1.2 KiB
JavaScript
Raw Normal View History

2020-09-21 09:43:11 +00:00
FullCalendar.globalLocales.push(function () {
'use strict';
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
},
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.',
weekTextLong: 'Vecka',
2020-11-25 09:31:52 +00:00
allDayText: 'Heldag',
moreLinkText: 'till',
noEventsText: 'Inga händelser att visa',
closeHint: 'Stäng',
timeHint: 'Klockan',
eventHint: 'Händelse',
2020-09-21 09:43:11 +00:00
};
2020-09-21 09:43:11 +00:00
return sv;
2020-09-21 09:43:11 +00:00
}());