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/nb.js | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/main/resources/static/plugins/fullcalendar/locales/nb.js (limited to 'src/main/resources/static/plugins/fullcalendar/locales/nb.js') diff --git a/src/main/resources/static/plugins/fullcalendar/locales/nb.js b/src/main/resources/static/plugins/fullcalendar/locales/nb.js new file mode 100644 index 0000000..b6be307 --- /dev/null +++ b/src/main/resources/static/plugins/fullcalendar/locales/nb.js @@ -0,0 +1,38 @@ +FullCalendar.globalLocales.push(function () { + 'use strict'; + + var nb = { + code: 'nb', + 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: 'Forrige', + next: 'Neste', + today: 'I dag', + month: 'Måned', + week: 'Uke', + day: 'Dag', + list: 'Agenda', + }, + weekText: 'Uke', + weekTextLong: 'Uke', + allDayText: 'Hele dagen', + moreLinkText: 'til', + noEventsText: 'Ingen hendelser å vise', + buttonHints: { + prev: 'Forrige $0', + next: 'Neste $0', + today: 'Nåværende $0', + }, + viewHint: '$0 visning', + navLinkHint: 'Gå til $0', + moreLinkHint(eventCnt) { + return `Vis ${eventCnt} flere hendelse${eventCnt === 1 ? '' : 'r'}` + }, + }; + + return nb; + +}()); -- cgit v1.2.3