diff options
Diffstat (limited to 'src/main/resources/static/plugins/fullcalendar/locales/sv.js')
-rw-r--r-- | src/main/resources/static/plugins/fullcalendar/locales/sv.js | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/main/resources/static/plugins/fullcalendar/locales/sv.js b/src/main/resources/static/plugins/fullcalendar/locales/sv.js new file mode 100644 index 0000000..483396c --- /dev/null +++ b/src/main/resources/static/plugins/fullcalendar/locales/sv.js @@ -0,0 +1,47 @@ +FullCalendar.globalLocales.push(function () { + 'use strict'; + + var sv = { + code: 'sv', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + buttonText: { + prev: 'Förra', + next: 'Nästa', + today: 'Idag', + month: 'Månad', + week: 'Vecka', + day: 'Dag', + list: 'Program', + }, + 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'}` + }, + weekText: 'v.', + weekTextLong: 'Vecka', + allDayText: 'Heldag', + moreLinkText: 'till', + noEventsText: 'Inga händelser att visa', + closeHint: 'Stäng', + timeHint: 'Klockan', + eventHint: 'Händelse', + }; + + return sv; + +}()); |