Calendar: Add notification placeholders $$date$$ and $$fullname$$ to preference help hover

This commit is contained in:
nathan 2021-12-08 11:10:39 -07:00
parent 806ab83f3c
commit 0a6dbbcd28

View File

@ -157,23 +157,25 @@ class calendar_hooks
'ical' => lang('iCal / rfc2445'), 'ical' => lang('iCal / rfc2445'),
); );
$event_details = array( $event_details = array(
'to-fullname' => lang('Fullname of person to notify'), 'to-fullname' => lang('Fullname of person to notify'),
'to-firstname'=> lang('Firstname of person to notify'), 'to-firstname' => lang('Firstname of person to notify'),
'to-lastname' => lang('Lastname of person to notify'), 'to-lastname' => lang('Lastname of person to notify'),
'title' => lang('Title of the event'), 'title' => lang('Title of the event'),
'description' => lang('Description'), 'description' => lang('Description'),
'startdate' => lang('Start Date/Time'), 'startdate' => lang('Start Date/Time'),
'enddate' => lang('End Date/Time'), 'enddate' => lang('End Date/Time'),
'olddate' => lang('Old Startdate'), 'olddate' => lang('Old Startdate'),
'category' => lang('Category'), 'category' => lang('Category'),
'location' => lang('Location'), 'location' => lang('Location'),
'priority' => lang('Priority'), 'priority' => lang('Priority'),
'participants'=> lang('Participants'), 'participants' => lang('Participants'),
'owner' => lang('Owner'), 'owner' => lang('Owner'),
'repetition' => lang('Repetitiondetails (or empty)'), 'repetition' => lang('Repetitiondetails (or empty)'),
'action' => lang('Action that caused the notify: Added, Canceled, Accepted, Rejected, ...'), 'action' => lang('Action that caused the notify: Added, Canceled, Accepted, Rejected, ...'),
'link' => lang('Link to view the event'), 'link' => lang('Link to view the event'),
'disinvited' => lang('Participants uninvited from an event'), 'disinvited' => lang('Participants uninvited from an event'),
'fullname' => lang('Current user'),
'date' => lang('Current date')
); );
$weekdaystarts = array( $weekdaystarts = array(
'Monday' => lang('Monday'), 'Monday' => lang('Monday'),