aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-01-07 00:51:51 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-01-07 00:51:51 +0800
commit7ee6b47dbca198102e63956e1d8f78cdd750a234 (patch)
tree61b9d40e1018686e0e8a5e42308dc783f716a3ad /calendar
parentb9a62ffbeaafe30cc9dd33f638118b21acb6fc26 (diff)
downloadgsoc2013-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')
-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: