Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MMM-GoogleCalendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ Module.register("MMM-GoogleCalendar", {
event.today =
event.startDate >= today &&
event.startDate < today + 24 * 60 * 60 * 1000;
event.title = event.summary;
event.title = event.summary === undefined ? this.translate("PRIVATE_EVENT") : event.summary;

/* if sliceMultiDayEvents is set to true, multiday events (events exceeding at least one midnight) are sliced into days,
* otherwise, esp. in dateheaders mode it is not clear how long these events are.
Expand Down
3 changes: 2 additions & 1 deletion translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"INVALID_CREDENTIALS_TYPE": "Invalid credentials.json format. Please ensure you are using 'Desktop application' credentials as per the setup guide (missing 'installed' key).",
"ERROR_TOKEN_EXCHANGE": "Failed to exchange authorization code for token. Please try authorizing again or check server logs.",
"ERROR_LOADING_CREDENTIALS": "Error loading credentials.json. Ensure the file exists in the module directory and has correct permissions.",
"ERROR_PARSING_CREDENTIALS": "Error parsing credentials.json. Please ensure the file is valid JSON."
"ERROR_PARSING_CREDENTIALS": "Error parsing credentials.json. Please ensure the file is valid JSON.",
"PRIVATE_EVENT": "Private Event"
}