From 0225bdb772d1334cc1aa7ab0fc3678df0864df6b Mon Sep 17 00:00:00 2001 From: AlisaLinUwU Date: Sun, 26 Jan 2025 10:42:28 +0500 Subject: Initialize --- .../static/plugins/fullcalendar/locales/sv.js | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/main/resources/static/plugins/fullcalendar/locales/sv.js (limited to 'src/main/resources/static/plugins/fullcalendar/locales/sv.js') 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; + +}()); -- cgit v1.2.3