diff options
Diffstat (limited to 'library/fullcalendar/packages/core/locales/sv.global.js')
-rw-r--r-- | library/fullcalendar/packages/core/locales/sv.global.js | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/library/fullcalendar/packages/core/locales/sv.global.js b/library/fullcalendar/packages/core/locales/sv.global.js new file mode 100644 index 000000000..3439a7d7d --- /dev/null +++ b/library/fullcalendar/packages/core/locales/sv.global.js @@ -0,0 +1,52 @@ +/*! +FullCalendar Core v6.0.3 +Docs & License: https://fullcalendar.io +(c) 2022 Adam Shaw +*/ +(function (index_js) { + 'use strict'; + + var locale = { + code: 'sv', + week: { + dow: 1, + 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', + }; + + index_js.globalLocales.push(locale); + +})(FullCalendar); |