From 04765cc2d4caf665f60074dfafa24da2117588bd Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 22 Dec 2008 22:39:17 +0000 Subject: [PATCH] * Alert the reader to recurrences in invitations. --- webcit/calendar.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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); -- 2.39.2