Thomas Hirschberger a23769156e
Show events of a configurable amount of past days (#3046)
Hi,

want to include a birthday calendar to my mirror which shows upcoming
birthdays and as a reminder birthdays of the last two days.
I used
[MMM-CalendarExt2](https://github.com/MMM-CalendarExt2/MMM-CalendarExt2)
for this job in the past but the module is not supported any more and
very complicated to configure.
I managed to style the default calendar module to my needs but what i am
missing is to display already past events within a configurable time
range.

I included the translations of "YESTERDAY" and "DAYBEFOREYESTERDAY" to
all translation files and modified the code to accept a new option
`pastDaysCount` which controls of how many days past events should be
displayed.

---------

Co-authored-by: Veeck <github@veeck.de>
2023-02-21 22:39:21 +01:00

37 lines
852 B
JSON

{
"LOADING": "loS …",
"DAYBEFOREYESTERDAY": "cha'Hu'",
"YESTERDAY": "wa'Hu'",
"TODAY": "DaHjaj",
"TOMORROW": "wa'leS",
"DAYAFTERTOMORROW": "cha'leS",
"RUNNING": "Dor",
"EMPTY": "Sumbe' wanI'.",
"WEEK": "Hogh (terran) {weekNumber}",
"N": "N",
"NNE": "NNE",
"NE": "NE",
"ENE": "ENE",
"E": "chan",
"ESE": "ESE",
"SE": "SE",
"SSE": "SSE",
"S": "S",
"SSW": "SSW",
"SW": "tIng",
"WSW": "WSW",
"W": "W",
"WNW": "WNW",
"NW": "'ev",
"NNW": "NNW",
"FEELS": "jem {DEGREE}",
"UPDATE_NOTIFICATION": " De'chu' MagicMirror² lI'laH.",
"UPDATE_NOTIFICATION_MODULE": "bobcho' {MODULE_NAME} lI'laH De'chu.",
"UPDATE_INFO_SINGLE": "The current installation is {COMMIT_COUNT} commit behind on the {BRANCH_NAME} branch.",
"UPDATE_INFO_MULTIPLE": "The current installation is {COMMIT_COUNT} commits behind on the {BRANCH_NAME} branch."
}