From 0a6dbbcd28d0be3a3dc1e3d39e82359ba2083303 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 8 Dec 2021 11:10:39 -0700 Subject: [PATCH] Calendar: Add notification placeholders $$date$$ and $$fullname$$ to preference help hover --- calendar/inc/class.calendar_hooks.inc.php | 36 ++++++++++++----------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/calendar/inc/class.calendar_hooks.inc.php b/calendar/inc/class.calendar_hooks.inc.php index ef0c68a091..b1ebf425b6 100644 --- a/calendar/inc/class.calendar_hooks.inc.php +++ b/calendar/inc/class.calendar_hooks.inc.php @@ -157,23 +157,25 @@ class calendar_hooks 'ical' => lang('iCal / rfc2445'), ); $event_details = array( - 'to-fullname' => lang('Fullname of person to notify'), - 'to-firstname'=> lang('Firstname of person to notify'), - 'to-lastname' => lang('Lastname of person to notify'), - 'title' => lang('Title of the event'), - 'description' => lang('Description'), - 'startdate' => lang('Start Date/Time'), - 'enddate' => lang('End Date/Time'), - 'olddate' => lang('Old Startdate'), - 'category' => lang('Category'), - 'location' => lang('Location'), - 'priority' => lang('Priority'), - 'participants'=> lang('Participants'), - 'owner' => lang('Owner'), - 'repetition' => lang('Repetitiondetails (or empty)'), - 'action' => lang('Action that caused the notify: Added, Canceled, Accepted, Rejected, ...'), - 'link' => lang('Link to view the event'), - 'disinvited' => lang('Participants uninvited from an event'), + 'to-fullname' => lang('Fullname of person to notify'), + 'to-firstname' => lang('Firstname of person to notify'), + 'to-lastname' => lang('Lastname of person to notify'), + 'title' => lang('Title of the event'), + 'description' => lang('Description'), + 'startdate' => lang('Start Date/Time'), + 'enddate' => lang('End Date/Time'), + 'olddate' => lang('Old Startdate'), + 'category' => lang('Category'), + 'location' => lang('Location'), + 'priority' => lang('Priority'), + 'participants' => lang('Participants'), + 'owner' => lang('Owner'), + 'repetition' => lang('Repetitiondetails (or empty)'), + 'action' => lang('Action that caused the notify: Added, Canceled, Accepted, Rejected, ...'), + 'link' => lang('Link to view the event'), + 'disinvited' => lang('Participants uninvited from an event'), + 'fullname' => lang('Current user'), + 'date' => lang('Current date') ); $weekdaystarts = array( 'Monday' => lang('Monday'),