aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/itip-utils.c49
2 files changed, 48 insertions, 9 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 1e0cbb48ed..2b6f14e992 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-06 Matthew Barnes <mbarnes@redhat.com>
+
+ ** Fixes bug #566599
+
+ * gui/itip-utils.c (comp_subject):
+ Add translator comments and gettext context for meeting mail
+ subject prefixes.
+
2009-01-06 Suman Manjunath <msuman@novell.com>
** Fix for bug #458968 (bugzilla.novell.com)
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 5b292e1901..3de75cf3d3 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -661,16 +661,32 @@ comp_subject (ECalComponentItipMethod method, ECalComponent *comp)
switch (a->status) {
case ICAL_PARTSTAT_ACCEPTED:
- prefix = _("Accepted");
+ /* Translators: This is part of the subject
+ * line of a meeting request or update email.
+ * The full subject line would be:
+ * "Accepted: Meeting Name". */
+ prefix = C_("Meeting", "Accepted");
break;
case ICAL_PARTSTAT_TENTATIVE:
- prefix = _("Tentatively Accepted");
+ /* Translators: This is part of the subject
+ * line of a meeting request or update email.
+ * The full subject line would be:
+ * "Tentatively Accepted: Meeting Name". */
+ prefix = C_("Meeting", "Tentatively Accepted");
break;
case ICAL_PARTSTAT_DECLINED:
- prefix = _("Declined");
+ /* Translators: This is part of the subject
+ * line of a meeting request or update email.
+ * The full subject line would be:
+ * "Declined: Meeting Name". */
+ prefix = C_("Meeting", "Declined");
break;
case ICAL_PARTSTAT_DELEGATED:
- prefix = _("Delegated");
+ /* Translators: This is part of the subject
+ * line of a meeting request or update email.
+ * The full subject line would be:
+ * "Delegated: Meeting Name". */
+ prefix = C_("Meeting", "Delegated");
break;
default:
break;
@@ -680,23 +696,38 @@ comp_subject (ECalComponentItipMethod method, ECalComponent *comp)
break;
case E_CAL_COMPONENT_METHOD_ADD:
- prefix = _("Updated");
+ /* Translators: This is part of the subject line of a
+ * meeting request or update email. The full subject
+ * line would be: "Updated: Meeting Name". */
+ prefix = C_("Meeting", "Updated");
break;
case E_CAL_COMPONENT_METHOD_CANCEL:
- prefix = _("Cancel");
+ /* Translators: This is part of the subject line of a
+ * meeting request or update email. The full subject
+ * line would be: "Cancel: Meeting Name". */
+ prefix = C_("Meeting", "Cancel");
break;
case E_CAL_COMPONENT_METHOD_REFRESH:
- prefix = _("Refresh");
+ /* Translators: This is part of the subject line of a
+ * meeting request or update email. The full subject
+ * line would be: "Refresh: Meeting Name". */
+ prefix = C_("Meeting", "Refresh");
break;
case E_CAL_COMPONENT_METHOD_COUNTER:
- prefix = _("Counter-proposal");
+ /* Translators: This is part of the subject line of a
+ * meeting request or update email. The full subject
+ * line would be: "Counter-proposal: Meeting Name". */
+ prefix = C_("Meeting", "Counter-proposal");
break;
case E_CAL_COMPONENT_METHOD_DECLINECOUNTER:
- prefix = _("Declined");
+ /* Translators: This is part of the subject line of a
+ * meeting request or update email. The full subject
+ * line would be: "Declined: Meeting Name". */
+ prefix = C_("Meeting", "Declined");
break;
default: