2020-12-30 07:42:58 +00:00
|
|
|
FullCalendar.globalLocales.push(function () {
|
|
|
|
'use strict';
|
|
|
|
|
2021-11-24 23:12:36 +00:00
|
|
|
function affix(buttonText) {
|
|
|
|
return (buttonText === 'Tag' || buttonText === 'Monat') ? 'r' :
|
|
|
|
buttonText === 'Jahr' ? 's' : ''
|
|
|
|
}
|
|
|
|
|
2020-12-30 07:42:58 +00:00
|
|
|
var deAt = {
|
|
|
|
code: 'de-at',
|
|
|
|
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: 'Zurück',
|
|
|
|
next: 'Vor',
|
|
|
|
today: 'Heute',
|
|
|
|
year: 'Jahr',
|
|
|
|
month: 'Monat',
|
|
|
|
week: 'Woche',
|
|
|
|
day: 'Tag',
|
|
|
|
list: 'Terminübersicht',
|
|
|
|
},
|
|
|
|
weekText: 'KW',
|
2021-11-24 23:12:36 +00:00
|
|
|
weekTextLong: 'Woche',
|
2020-12-30 07:42:58 +00:00
|
|
|
allDayText: 'Ganztägig',
|
|
|
|
moreLinkText: function(n) {
|
|
|
|
return '+ weitere ' + n
|
|
|
|
},
|
|
|
|
noEventsText: 'Keine Ereignisse anzuzeigen',
|
2021-11-24 23:12:36 +00:00
|
|
|
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',
|
2020-12-30 07:42:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
return deAt;
|
|
|
|
|
|
|
|
}());
|