diff options
author | Mario <mario@mariovavti.com> | 2023-01-25 13:09:00 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-01-25 13:09:00 +0000 |
commit | a9ae17036d30a676c833a6ddb98409f19cbbd963 (patch) | |
tree | 66d29806350386a585dcbf4aa20f51cda4da6c49 /library/fullcalendar/packages/core/locales/de.global.js | |
parent | 08e925758e920b898ac2d08710eab2f9638fe276 (diff) | |
download | volse-hubzilla-a9ae17036d30a676c833a6ddb98409f19cbbd963.tar.gz volse-hubzilla-a9ae17036d30a676c833a6ddb98409f19cbbd963.tar.bz2 volse-hubzilla-a9ae17036d30a676c833a6ddb98409f19cbbd963.zip |
update fullcalendar
Diffstat (limited to 'library/fullcalendar/packages/core/locales/de.global.js')
-rw-r--r-- | library/fullcalendar/packages/core/locales/de.global.js | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/library/fullcalendar/packages/core/locales/de.global.js b/library/fullcalendar/packages/core/locales/de.global.js new file mode 100644 index 000000000..09d1b3074 --- /dev/null +++ b/library/fullcalendar/packages/core/locales/de.global.js @@ -0,0 +1,69 @@ +/*! +FullCalendar Core v6.0.3 +Docs & License: https://fullcalendar.io +(c) 2022 Adam Shaw +*/ +(function (index_js) { + 'use strict'; + + function affix(buttonText) { + return (buttonText === 'Tag' || buttonText === 'Monat') ? 'r' : + buttonText === 'Jahr' ? 's' : ''; + } + var locale = { + code: 'de', + week: { + dow: 1, + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + buttonText: { + prev: 'Zurück', + next: 'Vor', + today: 'Heute', + year: 'Jahr', + month: 'Monat', + week: 'Woche', + day: 'Tag', + list: 'Terminübersicht', + }, + weekText: 'KW', + weekTextLong: 'Woche', + allDayText: 'Ganztägig', + moreLinkText(n) { + return '+ weitere ' + n; + }, + noEventsText: 'Keine Ereignisse anzuzeigen', + buttonHints: { + prev(buttonText) { + return `Vorherige${affix(buttonText)} ${buttonText}`; + }, + next(buttonText) { + return `Nächste${affix(buttonText)} ${buttonText}`; + }, + today(buttonText) { + // → Heute, Diese Woche, Dieser Monat, Dieses Jahr + if (buttonText === 'Tag') { + return 'Heute'; + } + return `Diese${affix(buttonText)} ${buttonText}`; + }, + }, + viewHint(buttonText) { + // → Tagesansicht, Wochenansicht, Monatsansicht, Jahresansicht + const glue = buttonText === 'Woche' ? 'n' : buttonText === 'Monat' ? 's' : 'es'; + return buttonText + glue + 'ansicht'; + }, + navLinkHint: 'Gehe zu $0', + moreLinkHint(eventCnt) { + return 'Zeige ' + (eventCnt === 1 ? + 'ein weiteres Ereignis' : + eventCnt + ' weitere Ereignisse'); + }, + closeHint: 'Schließen', + timeHint: 'Uhrzeit', + eventHint: 'Ereignis', + }; + + index_js.globalLocales.push(locale); + +})(FullCalendar); |