From 9fc6ba8c2d0b3656e7205d2232a326bbc81bae22 Mon Sep 17 00:00:00 2001 From: Chyla Zbigniew Date: Fri, 31 Aug 2001 21:42:57 +0000 Subject: 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 --- calendar/ChangeLog | 8 ++++++++ calendar/gui/e-itip-control.c | 10 +++++----- calendar/gui/itip-utils.c | 3 ++- 3 files changed, 15 insertions(+), 6 deletions(-) (limited to 'calendar') 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 + + * 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 * 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 #include #include +#include #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 ("
Please review the following information, " - "and then select an action from the menu below."); + html = U_("
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 ("Summary: %s

", text.value ? text.value : "None"); + html = g_strdup_printf (U_("Summary: %s

"), text.value ? text.value : U_("None")); 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 ("Description: %s", text.value); + html = g_strdup_printf (U_("Description: %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 #include #include +#include #include #include #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; -- cgit v1.2.3