diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-01-07 00:51:51 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-07 00:51:51 +0800 |
commit | 7ee6b47dbca198102e63956e1d8f78cdd750a234 (patch) | |
tree | 61b9d40e1018686e0e8a5e42308dc783f716a3ad /calendar/gui | |
parent | b9a62ffbeaafe30cc9dd33f638118b21acb6fc26 (diff) | |
download | gsoc2013-evolution-7ee6b47dbca198102e63956e1d8f78cdd750a234.tar gsoc2013-evolution-7ee6b47dbca198102e63956e1d8f78cdd750a234.tar.gz gsoc2013-evolution-7ee6b47dbca198102e63956e1d8f78cdd750a234.tar.bz2 gsoc2013-evolution-7ee6b47dbca198102e63956e1d8f78cdd750a234.tar.lz gsoc2013-evolution-7ee6b47dbca198102e63956e1d8f78cdd750a234.tar.xz gsoc2013-evolution-7ee6b47dbca198102e63956e1d8f78cdd750a234.tar.zst gsoc2013-evolution-7ee6b47dbca198102e63956e1d8f78cdd750a234.zip |
** Fixes bug #566599
2009-01-06 Matthew Barnes <mbarnes@redhat.com>
** 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
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/itip-utils.c | 49 |
1 files changed, 40 insertions, 9 deletions
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: |