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

38 lines
911 B
JSON

{
"LOADING": "Kraunasi …",
"DAYBEFOREYESTERDAY": "Užvakar",
"YESTERDAY": "Vakar",
"TODAY": "Šiandien",
"TOMORROW": "Rytoj",
"DAYAFTERTOMORROW": "Už 2 dienų",
"RUNNING": "Pasibaigs už",
"EMPTY": "Nėra artimų įvykių.",
"WEEK": "{weekNumber} savaitė",
"N": "Š",
"NNE": "ŠŠR",
"NE": "ŠR",
"ENE": "RŠR",
"E": "R",
"ESE": "RPR",
"SE": "PR",
"SSE": "PPR",
"S": "P",
"SSW": "PPV",
"SW": "PV",
"WSW": "VPV",
"W": "V",
"WNW": "VŠV",
"NW": "ŠV",
"NNW": "ŠŠV",
"FEELS": "Jutiminė temp. {DEGREE}",
"PRECIP_POP": "Krituliai",
"UPDATE_NOTIFICATION": "Galimas MagicMirror² naujinimas.",
"UPDATE_NOTIFICATION_MODULE": "Galimas {MODULE_NAME} naujinimas.",
"UPDATE_INFO_SINGLE": "Šis įdiegimas atsilieka {COMMIT_COUNT} įsipareigojimu {BRANCH_NAME} šakoje.",
"UPDATE_INFO_MULTIPLE": "Šis įdiegimas atsilieka {COMMIT_COUNT} įsipareigojimais {BRANCH_NAME} šakoje."
}