aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorZbigniew Chyla <cyba@gnome.pl>2001-12-06 01:16:00 +0800
committerChyla Zbigniew <chyla@src.gnome.org>2001-12-06 01:16:00 +0800
commit2988c7ad7b5c0853cdd277ca7d878783508bf908 (patch)
tree3d9395560f4bf31c737f250828feaa1d0d1dbcc7 /calendar/gui
parent64262ad7f2c7f72a3dffc5aa39372dbb41bdd451 (diff)
downloadgsoc2013-evolution-2988c7ad7b5c0853cdd277ca7d878783508bf908.tar
gsoc2013-evolution-2988c7ad7b5c0853cdd277ca7d878783508bf908.tar.gz
gsoc2013-evolution-2988c7ad7b5c0853cdd277ca7d878783508bf908.tar.bz2
gsoc2013-evolution-2988c7ad7b5c0853cdd277ca7d878783508bf908.tar.lz
gsoc2013-evolution-2988c7ad7b5c0853cdd277ca7d878783508bf908.tar.xz
gsoc2013-evolution-2988c7ad7b5c0853cdd277ca7d878783508bf908.tar.zst
gsoc2013-evolution-2988c7ad7b5c0853cdd277ca7d878783508bf908.zip
Marked strings for translation.
2001-12-05 Zbigniew Chyla <cyba@gnome.pl> * gui/itip-utils.c (comp_subject, comp_description): Marked strings for translation. svn path=/trunk/; revision=14890
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/itip-utils.c29
1 files changed, 16 insertions, 13 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 15d7686baf..8eed74f42b 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -310,15 +310,15 @@ comp_subject (CalComponent *comp)
switch (cal_component_get_vtype (comp)) {
case CAL_COMPONENT_EVENT:
- return CORBA_string_dup ("Event information");
+ return CORBA_string_dup (U_("Event information"));
case CAL_COMPONENT_TODO:
- return CORBA_string_dup ("Task information");
+ return CORBA_string_dup (U_("Task information"));
case CAL_COMPONENT_JOURNAL:
- return CORBA_string_dup ("Journal information");
+ return CORBA_string_dup (U_("Journal information"));
case CAL_COMPONENT_FREEBUSY:
- return CORBA_string_dup ("Free/Busy information");
+ return CORBA_string_dup (U_("Free/Busy information"));
default:
- return CORBA_string_dup ("Calendar information");
+ return CORBA_string_dup (U_("Calendar information"));
}
}
@@ -352,11 +352,11 @@ comp_description (CalComponent *comp)
switch (cal_component_get_vtype (comp)) {
case CAL_COMPONENT_EVENT:
- return CORBA_string_dup ("Event information");
+ return CORBA_string_dup (U_("Event information"));
case CAL_COMPONENT_TODO:
- return CORBA_string_dup ("Task information");
+ return CORBA_string_dup (U_("Task information"));
case CAL_COMPONENT_JOURNAL:
- return CORBA_string_dup ("Journal information");
+ return CORBA_string_dup (U_("Journal information"));
case CAL_COMPONENT_FREEBUSY:
cal_component_get_dtstart (comp, &dt);
if (dt.value) {
@@ -366,17 +366,20 @@ comp_description (CalComponent *comp)
end = get_label (dt.value);
}
if (start != NULL && end != NULL) {
- char *tmp = g_strdup_printf ("Free/Busy information (%s to %s)", start, end);
- description = CORBA_string_dup (tmp);
- g_free (tmp);
+ char *tmp, *tmp_utf;
+ tmp = g_strdup_printf (_("Free/Busy information (%s to %s)"), start, end);
+ tmp_utf = e_utf8_from_locale_string (tmp);
+ description = CORBA_string_dup (tmp_utf);
+ g_free (tmp_utf);
+ g_free (tmp);
} else {
- description = CORBA_string_dup ("Free/Busy information");
+ description = CORBA_string_dup (U_("Free/Busy information"));
}
g_free (start);
g_free (end);
return description;
default:
- return CORBA_string_dup ("iCalendar information");
+ return CORBA_string_dup (U_("iCalendar information"));
}
}