aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChyla Zbigniew <chyla@src.gnome.org>2001-09-01 05:42:57 +0800
committerChyla Zbigniew <chyla@src.gnome.org>2001-09-01 05:42:57 +0800
commit9fc6ba8c2d0b3656e7205d2232a326bbc81bae22 (patch)
tree2facc293a0cd37c94d22e581106c7710f842d01d
parentac5c6bb28360f3d1e7f7d2aabd8d64f22584503e (diff)
downloadgsoc2013-evolution-9fc6ba8c2d0b3656e7205d2232a326bbc81bae22.tar
gsoc2013-evolution-9fc6ba8c2d0b3656e7205d2232a326bbc81bae22.tar.gz
gsoc2013-evolution-9fc6ba8c2d0b3656e7205d2232a326bbc81bae22.tar.bz2
gsoc2013-evolution-9fc6ba8c2d0b3656e7205d2232a326bbc81bae22.tar.lz
gsoc2013-evolution-9fc6ba8c2d0b3656e7205d2232a326bbc81bae22.tar.xz
gsoc2013-evolution-9fc6ba8c2d0b3656e7205d2232a326bbc81bae22.tar.zst
gsoc2013-evolution-9fc6ba8c2d0b3656e7205d2232a326bbc81bae22.zip
Marked strings for translation (with U_).
* gui/e-itip-control.c (write_html): Marked strings for translation (with U_). * gui/itip-utils.c (itip_send_comp): Ditto. svn path=/trunk/; revision=12543
-rw-r--r--calendar/ChangeLog8
-rw-r--r--calendar/gui/e-itip-control.c10
-rw-r--r--calendar/gui/itip-utils.c3
3 files changed, 15 insertions, 6 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index daa176839a..c4d686225c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,11 @@
+2001-08-31 Zbigniew Chyla <cyba@gnome.pl>
+
+ * gui/e-itip-control.c (write_html):
+ Marked strings for translation (with U_).
+
+ * gui/itip-utils.c (itip_send_comp):
+ Ditto.
+
2001-08-31 Damon Chaplin <damon@ximian.com>
* gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget):
diff --git a/calendar/gui/e-itip-control.c b/calendar/gui/e-itip-control.c
index 8c153fc116..5fd9f9a6e1 100644
--- a/calendar/gui/e-itip-control.c
+++ b/calendar/gui/e-itip-control.c
@@ -43,6 +43,7 @@
#include <cal-client/cal-client.h>
#include <e-util/e-time-utils.h>
#include <e-util/e-dialog-widgets.h>
+#include <e-util/e-unicode-i18n.h>
#include "calendar-config.h"
#include "itip-utils.h"
#include "e-itip-control.h"
@@ -552,10 +553,9 @@ write_html (EItipControl *itip, gchar *itip_desc, gchar *itip_title, gchar *opti
}
/* Describe what the user can do */
- html = g_strdup ("<br> Please review the following information, "
- "and then select an action from the menu below.");
+ html = U_("<br> Please review the following information, "
+ "and then select an action from the menu below.");
gtk_html_write (GTK_HTML (priv->html), html_stream, html, strlen(html));
- g_free (html);
/* Separator */
gtk_html_write (GTK_HTML (priv->html), html_stream, HTML_SEP, strlen (HTML_SEP));
@@ -568,7 +568,7 @@ write_html (EItipControl *itip, gchar *itip_desc, gchar *itip_title, gchar *opti
/* Summary */
cal_component_get_summary (priv->comp, &text);
- html = g_strdup_printf ("<b>Summary:</b> %s<br><br>", text.value ? text.value : "<i>None</i>");
+ html = g_strdup_printf (U_("<b>Summary:</b> %s<br><br>"), text.value ? text.value : U_("<i>None</i>"));
gtk_html_write (GTK_HTML (priv->html), html_stream, html, strlen(html));
g_free (html);
@@ -578,7 +578,7 @@ write_html (EItipControl *itip, gchar *itip_desc, gchar *itip_title, gchar *opti
text = *((CalComponentText *)l->data);
if (l && text.value) {
- html = g_strdup_printf ("<b>Description:</b> %s", text.value);
+ html = g_strdup_printf (U_("<b>Description:</b> %s"), text.value);
gtk_html_write (GTK_HTML (priv->html), html_stream, html, strlen(html));
g_free (html);
}
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 828ee05aed..6d7936b813 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -36,6 +36,7 @@
#include <libgnomeui/gnome-dialog-util.h>
#include <gtk/gtkwidget.h>
#include <gal/util/e-util.h>
+#include <e-util/e-unicode-i18n.h>
#include <ical.h>
#include <Evolution-Composer.h>
#include "cal-util/cal-util.h"
@@ -296,7 +297,7 @@ itip_send_comp (CalComponentItipMethod method, CalComponent *comp)
sprintf (tempstr, "text/calendar;METHOD=%s", itip_methods[method]);
content_type = CORBA_string_dup (tempstr);
filename = CORBA_string_dup ("calendar.ics");
- sprintf (tempstr, "Calendar attachment");
+ sprintf (tempstr, U_("Calendar attachment"));
description = CORBA_string_dup (tempstr);
show_inline = FALSE;