diff options
author | Chyla Zbigniew <chyla@src.gnome.org> | 2001-06-30 20:08:27 +0800 |
---|---|---|
committer | Chyla Zbigniew <chyla@src.gnome.org> | 2001-06-30 20:08:27 +0800 |
commit | b190305858a16818773cdf855a6d78eda2ee6bda (patch) | |
tree | cab77ea68283362e6a92a5c6a298c6c2a7224d47 /my-evolution/e-summary-mail.c | |
parent | 50c60bc7ff8343894e7234cfa09b26edf5fe3397 (diff) | |
download | gsoc2013-evolution-b190305858a16818773cdf855a6d78eda2ee6bda.tar.gz gsoc2013-evolution-b190305858a16818773cdf855a6d78eda2ee6bda.tar.zst gsoc2013-evolution-b190305858a16818773cdf855a6d78eda2ee6bda.zip |
Marked strings for translation + conversion to utf8.
* e-summary-calendar.c (generate_html):
Marked strings for translation + conversion to utf8.
* e-summary-mail.c
Added missing #include <config.h>
(e_summary_mail_generate_html):
Marked strings for translation + conversion to utf8.
* e-summary-weather.c
(e_summary_weather_get_html, open_callback):
Marked strings for translation + conversion to utf8.
(weather_make_html): Fixed leaks.
* e-summary-rdf.c
(tree_walk): Fixed leaks.
(read_callback): Marked strings for translation.
svn path=/trunk/; revision=10630
Diffstat (limited to 'my-evolution/e-summary-mail.c')
-rw-r--r-- | my-evolution/e-summary-mail.c | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c index 2453a93d6a..4ce4fd90c9 100644 --- a/my-evolution/e-summary-mail.c +++ b/my-evolution/e-summary-mail.c @@ -6,12 +6,18 @@ * Authors: Iain Holmes <iain@ximian.com> */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif #include <liboaf/liboaf.h> +#include <gal/widgets/e-unicode.h> #include "Mail.h" #include "e-summary.h" #include "e-summary-mail.h" +#include <libgnome/gnome-defs.h> +#include <libgnome/gnome-i18n.h> #include <gtk/gtksignal.h> #include <bonobo/bonobo-exception.h> #include <bonobo/bonobo-listener.h> @@ -85,12 +91,16 @@ e_summary_mail_generate_html (ESummary *summary) ESummaryMail *mail; GString *string; GList *p; + gchar *s; mail = summary->mail; string = g_string_new ("<dl><dt><img src=\"ico-mail.png\" " - "align=\"middle\" alt=\"\" width=\"48\" " - "height=\"48\"> <b><a href=\"evolution:/local/Inbox\">Mail summary</a>" - "</b></dt><dd><table numcols=\"2\" width=\"100%\">"); + "align=\"middle\" alt=\"\" width=\"48\" " + "height=\"48\"> <b><a href=\"evolution:/local/Inbox\">"); + s = e_utf8_from_locale_string (_("Mail summary")); + g_string_append (string, s); + g_free (s); + g_string_append (string, "</a></b></dt><dd><table numcols=\"2\" width=\"100%\">"); for (p = mail->shown; p; p = p->next) { folder_gen_html (p->data, string); |