summaryrefslogtreecommitdiff
path: root/src/main/resources/static/plugins/fullcalendar/locales/sv.js
diff options
context:
space:
mode:
authorAlisaLinUwU <alisalinuwu@gmail.com>2025-01-26 10:42:28 +0500
committerAlisaLinUwU <alisalinuwu@gmail.com>2025-01-26 10:42:28 +0500
commit0225bdb772d1334cc1aa7ab0fc3678df0864df6b (patch)
tree85a8c8e4fcf1d935fcbad54886b73410c8cb2e26 /src/main/resources/static/plugins/fullcalendar/locales/sv.js
Initializemain
Diffstat (limited to 'src/main/resources/static/plugins/fullcalendar/locales/sv.js')
-rw-r--r--src/main/resources/static/plugins/fullcalendar/locales/sv.js47
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;
+
+}());