[CalendarServer-changes] [3254] CalendarServer/branches/users/sagen/localization-3218
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 29 09:16:17 PDT 2008
Revision: 3254
http://trac.macosforge.org/projects/calendarserver/changeset/3254
Author: sagen at apple.com
Date: 2008-10-29 09:16:16 -0700 (Wed, 29 Oct 2008)
Log Message:
-----------
Adds a simple Occurs Repeating/Once to invites
Modified Paths:
--------------
CalendarServer/branches/users/sagen/localization-3218/locales/en/LC_MESSAGES/calendarserver.po
CalendarServer/branches/users/sagen/localization-3218/locales/fr/LC_MESSAGES/calendarserver.mo
CalendarServer/branches/users/sagen/localization-3218/locales/fr/LC_MESSAGES/calendarserver.po
CalendarServer/branches/users/sagen/localization-3218/locales/pig/LC_MESSAGES/calendarserver.mo
CalendarServer/branches/users/sagen/localization-3218/locales/pig/LC_MESSAGES/calendarserver.po
CalendarServer/branches/users/sagen/localization-3218/twistedcaldav/mail.py
Modified: CalendarServer/branches/users/sagen/localization-3218/locales/en/LC_MESSAGES/calendarserver.po
===================================================================
--- CalendarServer/branches/users/sagen/localization-3218/locales/en/LC_MESSAGES/calendarserver.po 2008-10-29 16:04:52 UTC (rev 3253)
+++ CalendarServer/branches/users/sagen/localization-3218/locales/en/LC_MESSAGES/calendarserver.po 2008-10-29 16:16:16 UTC (rev 3254)
@@ -226,7 +226,15 @@
msgid "Duration"
msgstr ""
+msgid "Occurs"
+msgstr ""
+msgid "Repeating"
+msgstr ""
+
+msgid "Once"
+msgstr ""
+
msgid "1 day"
msgstr
Modified: CalendarServer/branches/users/sagen/localization-3218/locales/fr/LC_MESSAGES/calendarserver.mo
===================================================================
(Binary files differ)
Modified: CalendarServer/branches/users/sagen/localization-3218/locales/fr/LC_MESSAGES/calendarserver.po
===================================================================
--- CalendarServer/branches/users/sagen/localization-3218/locales/fr/LC_MESSAGES/calendarserver.po 2008-10-29 16:04:52 UTC (rev 3253)
+++ CalendarServer/branches/users/sagen/localization-3218/locales/fr/LC_MESSAGES/calendarserver.po 2008-10-29 16:16:16 UTC (rev 3254)
@@ -70,8 +70,15 @@
msgid "Duration"
msgstr "Durée"
+msgid "Occurs"
+msgstr "Se produit"
+msgid "Repeating"
+msgstr "Répétition"
+msgid "Once"
+msgstr "Une fois"
+
#: twistedcaldav/localization.py:131
msgid "Monday"
msgstr "Lundi"
Modified: CalendarServer/branches/users/sagen/localization-3218/locales/pig/LC_MESSAGES/calendarserver.mo
===================================================================
(Binary files differ)
Modified: CalendarServer/branches/users/sagen/localization-3218/locales/pig/LC_MESSAGES/calendarserver.po
===================================================================
--- CalendarServer/branches/users/sagen/localization-3218/locales/pig/LC_MESSAGES/calendarserver.po 2008-10-29 16:04:52 UTC (rev 3253)
+++ CalendarServer/branches/users/sagen/localization-3218/locales/pig/LC_MESSAGES/calendarserver.po 2008-10-29 16:16:16 UTC (rev 3254)
@@ -226,6 +226,16 @@
msgid "Duration"
msgstr "Urationday"
+msgid "Occurs"
+msgstr "Occursway"
+
+msgid "Repeating"
+msgstr "Epeatingray"
+
+msgid "Once"
+msgstr "Onceway"
+
+
msgid "1 day"
msgstr "1 ayday"
Modified: CalendarServer/branches/users/sagen/localization-3218/twistedcaldav/mail.py
===================================================================
--- CalendarServer/branches/users/sagen/localization-3218/twistedcaldav/mail.py 2008-10-29 16:04:52 UTC (rev 3253)
+++ CalendarServer/branches/users/sagen/localization-3218/twistedcaldav/mail.py 2008-10-29 16:16:16 UTC (rev 3254)
@@ -740,6 +740,7 @@
details['dateLabel'] = _("Date")
details['timeLabel'] = _("Time")
details['durationLabel'] = _("Duration")
+ details['recurrenceLabel'] = _("Occurs")
details['descLabel'] = _("Description")
details['orgLabel'] = _("Organizer")
details['attLabel'] = _("Attendees")
@@ -753,6 +754,7 @@
%(dateLabel)s: %(dateInfo)s
%(timeLabel)s: %(timeInfo)s
%(durationLabel)s: %(durationInfo)s
+%(recurrenceLabel)s: %(recurrenceInfo)s
%(descLabel)s: %(description)s
%(attLabel)s: %(attendees)s
"""
@@ -794,6 +796,9 @@
<h3>%(durationLabel)s:</h3> %(durationInfo)s
</p>
<p>
+ <h3>%(recurrenceLabel)s:</h3> %(recurrenceInfo)s
+ </p>
+ <p>
<h3>%(descLabel)s:</h3> %(description)s
</p>
<p>
@@ -876,6 +881,15 @@
results['dateInfo'] = trans.date(component)
results['timeInfo'], results['durationInfo'] = trans.time(component)
+
+ for propertyName in ("RRULE", "REDATE", "EXRULE", "EXDATE",
+ "RECURRENCE-ID"):
+ if component.hasProperty(propertyName):
+ results['recurrenceInfo'] = _("Repeating")
+ break
+ else:
+ results['recurrenceInfo'] = _("Once")
+
return results
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20081029/83fbe281/attachment-0001.html>
More information about the calendarserver-changes
mailing list