mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-23 20:05:32 +00:00
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>
37 lines
969 B
JSON
37 lines
969 B
JSON
{
|
|
"LOADING": "正在加载 …",
|
|
|
|
"DAYBEFOREYESTERDAY": "前天",
|
|
"YESTERDAY": "昨天",
|
|
"TODAY": "今天",
|
|
"TOMORROW": "明天",
|
|
"DAYAFTERTOMORROW": "后天",
|
|
"RUNNING": "结束日期",
|
|
"EMPTY": "无日程安排。",
|
|
"WEEK": "第{weekNumber}周",
|
|
|
|
"N": "北风",
|
|
"NNE": "北偏东风",
|
|
"NE": "东北风",
|
|
"ENE": "东偏北风",
|
|
"E": "东风",
|
|
"ESE": "东偏南风",
|
|
"SE": "东南风",
|
|
"SSE": "南偏东风",
|
|
"S": "南风",
|
|
"SSW": "南偏西风",
|
|
"SW": "西南风",
|
|
"WSW": "西偏南风",
|
|
"W": "西风",
|
|
"WNW": "西偏北风",
|
|
"NW": "西北风",
|
|
"NNW": "北偏西风",
|
|
|
|
"FEELS": "体感 {DEGREE}",
|
|
|
|
"UPDATE_NOTIFICATION": "MagicMirror²有新的版本。",
|
|
"UPDATE_NOTIFICATION_MODULE": "{MODULE_NAME}模块可更新。",
|
|
"UPDATE_INFO_SINGLE": "当前已安装版本比{BRANCH_NAME}分支落后{COMMIT_COUNT}次代码更新。",
|
|
"UPDATE_INFO_MULTIPLE": "当前已安装版本比{BRANCH_NAME}分支落后{COMMIT_COUNT}次代码更新。"
|
|
}
|