From 7ee6b47dbca198102e63956e1d8f78cdd750a234 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 6 Jan 2009 16:51:51 +0000 Subject: ** Fixes bug #566599 2009-01-06 Matthew Barnes ** Fixes bug #566599 * calendar/gui/itip-utils.c (comp_subject): Add translator comments and gettext context for meeting mail subject prefixes. svn path=/trunk/; revision=37004 --- calendar/gui/itip-utils.c | 49 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 9 deletions(-) (limited to 'calendar/gui') 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: -- cgit v1.2.3