Making change notification more user friendly
This commit is contained in:
parent
b755bdd74f
commit
20cd3a97f2
2 changed files with 4 additions and 2 deletions
|
@ -1327,7 +1327,7 @@ class calendar extends rcube_plugin
|
|||
$headers['To'] = format_email_recipient($mailto, $attendee['name']);
|
||||
|
||||
$headers['Subject'] = $this->gettext(array(
|
||||
'name' => $is_cancelled ? 'eventcancelsubject' : ($is_new ? 'invitationsubject' : 'eventupdatesubject'),
|
||||
'name' => $is_cancelled ? 'eventcancelsubject' : ($is_new ? 'invitationsubject' : ($event['title'] ? 'eventupdatesubject':'eventupdatesubjectempty')),
|
||||
'vars' => array('title' => $event['title']),
|
||||
));
|
||||
|
||||
|
@ -1680,3 +1680,4 @@ class calendar extends rcube_plugin
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -118,6 +118,7 @@ $labels['noslotfound'] = 'Unable to find a free time slot';
|
|||
$labels['invitationsubject'] = 'You\'ve been invited to "$title"';
|
||||
$labels['invitationmailbody'] = "*\$title*\n\nWhen: \$date\n\nInvitees: \$attendees\n\nPlease find attached an iCalendar file with all the event details which you can import to your calendar application.";
|
||||
$labels['eventupdatesubject'] = '"$title" has been updated';
|
||||
$labels['eventupdatesubjectempty'] = 'An event that concerns you has been updated';
|
||||
$labels['eventupdatemailbody'] = "*\$title*\n\nWhen: \$date\n\nInvitees: \$attendees\n\nPlease find attached an iCalendar file with the updated event details which you can import to your calendar application.";
|
||||
$labels['eventcancelsubject'] = '"$title" has been canceled';
|
||||
$labels['eventcancelmailbody'] = "*\$title*\n\nWhen: \$date\n\nInvitees: \$attendees\n\nThe event has been cancelled by \$organizer.\n\nPlease find attached an iCalendar file with the updated event details.";
|
||||
|
@ -182,4 +183,4 @@ $labels['futurevents'] = 'Future';
|
|||
$labels['allevents'] = 'All';
|
||||
$labels['saveasnew'] = 'Save as new';
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue