From: Art Cancro Date: Mon, 22 Dec 2008 22:39:17 +0000 (+0000) Subject: * Alert the reader to recurrences in invitations. X-Git-Tag: v7.86~1682 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=04765cc2d4caf665f60074dfafa24da2117588bd;p=citadel.git * Alert the reader to recurrences in invitations. --- diff --git a/webcit/calendar.c b/webcit/calendar.c index 06f965596..b583d133a 100644 --- a/webcit/calendar.c +++ b/webcit/calendar.c @@ -153,6 +153,14 @@ void cal_process_object(StrBuf *Target, StrBufAppendPrintf(Target, "\n"); } + if (icalcomponent_get_first_property(cal, ICAL_RRULE_PROPERTY)) { + /* Unusual string syntax used here in order to re-use existing translations */ + StrBufAppendPrintf(Target, "
%s:
%s.
\n", + _("Recurrence"), + _("This is a recurring event") + ); + } + /* If the component has attendees, iterate through them. */ for (p = icalcomponent_get_first_property(cal, ICAL_ATTENDEE_PROPERTY); (p != NULL);