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

28 lines
524 B
JSON

{
"LOADING": "ローディング …",
"DAYBEFOREYESTERDAY": "おととい",
"YESTERDAY": "昨日",
"TODAY": "今日",
"TOMORROW": "明日",
"RUNNING": "で終わります",
"EMPTY": "直近のイベントはありません",
"N": "北",
"NNE": "北北東",
"NE": "北東",
"ENE": "東北東",
"E": "東",
"ESE": "東南東",
"SE": "南東",
"SSE": "南南東",
"S": "南",
"SSW": "南南西",
"SW": "南西",
"WSW": "西南西",
"W": "西",
"WNW": "西北西",
"NW": "北西",
"NNW": "北北西"
}