diff --git a/plugins/libcalendaring/lib/libcalendaring_itip.php b/plugins/libcalendaring/lib/libcalendaring_itip.php index 53284a4e..f56463c3 100644 --- a/plugins/libcalendaring/lib/libcalendaring_itip.php +++ b/plugins/libcalendaring/lib/libcalendaring_itip.php @@ -125,7 +125,7 @@ class libcalendaring_itip $recurrence_info = ''; if (!empty($event['recurrence_id'])) { - $recurrence_info = "\n\n** " . $this->gettext('itip'.strtolower($method).'occurrenceonly') . ' **'; + $recurrence_info = "\n\n** " . $this->gettext($event['thisandfuture'] ? 'itipmessagefutureoccurrence' : 'itipmessagesingleoccurrence') . ' **'; } else if (!empty($event['recurrence'])) { $recurrence_info = sprintf("\n%s: %s", $this->gettext('recurring'), $this->lib->recurrence_text($event['recurrence'])); @@ -742,7 +742,7 @@ class libcalendaring_itip } if (!empty($event['recurrence_date'])) { $table->add('label', ''); - $table->add('recurrence-id', $this->gettext('itipsingleoccurrence')); + $table->add('recurrence-id', $this->gettext($event['thisandfuture'] ? 'itipfutureoccurrence' : 'itipsingleoccurrence')); } else if (!empty($event['recurrence'])) { $table->add('label', $this->gettext('recurring')); diff --git a/plugins/libcalendaring/localization/en_US.inc b/plugins/libcalendaring/localization/en_US.inc index 31f08fd0..992113ad 100644 --- a/plugins/libcalendaring/localization/en_US.inc +++ b/plugins/libcalendaring/localization/en_US.inc @@ -111,9 +111,9 @@ $labels['declineattendeeconfirm'] = 'Enter a message to the declined participant $labels['rsvprecurringevent'] = 'This is a series of events! Does your response apply to all, this occurrence only or this and future occurrences?'; $labels['itipsingleoccurrence'] = 'This is a single occurrence out of a series of events'; -$labels['itiprequestoccurrenceonly'] = 'The invitation only refers to this single occurrence'; -$labels['itipreplyoccurrenceonly'] = 'The response only refers to this single occurrence'; -$labels['itipcanceloccurrenceonly'] = 'The cancellation only refers to this single occurrence'; +$labels['itipfutureoccurrence'] = 'Refers to this and all future occurrences of a series of events'; +$labels['itipmessagesingleoccurrence'] = 'The message only refers to this single occurrence'; +$labels['itipmessagefutureoccurrence'] = 'The message refers to this and all future occurrences'; $labels['youhaveaccepted'] = 'You have accepted this invitation'; $labels['youhavetentative'] = 'You have tentatively accepted this invitation';