diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-03-28 05:37:07 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-03-28 05:37:07 +0800 |
commit | c6ed3eedc881b57ac7d767a282413db7966f8a8b (patch) | |
tree | 18ded69ef658a974fc9c012ac09c63c9ed9f3858 /my-evolution/e-summary-tasks.c | |
parent | a764639cd2f9f85da377fa6987c10bc1005d74ef (diff) | |
download | gsoc2013-evolution-c6ed3eedc881b57ac7d767a282413db7966f8a8b.tar.gz gsoc2013-evolution-c6ed3eedc881b57ac7d767a282413db7966f8a8b.tar.zst gsoc2013-evolution-c6ed3eedc881b57ac7d767a282413db7966f8a8b.zip |
Likewise.
* e-summary.c (e_summary_init): Likewise.
* e-summary-weather.c (e_summary_weather_get_html): Likewise.
(weather_make_html): Likewise.
* e-summary-mail.c (e_summary_mail_generate_html): Fix so it
handles the fact that the translated strings are already in UTF8.
* e-summary-rdf.c (tree_walk): Likewise.
(display_doc): Likewise.
svn path=/trunk/; revision=20553
Diffstat (limited to 'my-evolution/e-summary-tasks.c')
-rw-r--r-- | my-evolution/e-summary-tasks.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c index 69ba5c74af..578c2bf737 100644 --- a/my-evolution/e-summary-tasks.c +++ b/my-evolution/e-summary-tasks.c @@ -321,17 +321,13 @@ generate_html (gpointer data) } if (uids == NULL) { - char *s1, *s2; - - s1 = e_utf8_from_locale_string (_("Tasks")); - s2 = e_utf8_from_locale_string (_("No tasks")); g_free (tasks->html); tasks->html = g_strconcat ("<dl><dt><img src=\"myevo-post-it.png\" align=\"middle\" " - "alt=\"\" width=\"48\" height=\"48\"> <b><a href=\"", tasks->default_uri, "\">", - s1, "</a></b></dt><dd><b>", s2, "</b></dd></dl>", NULL); - g_free (s1); - g_free (s2); - + "alt=\"\" width=\"48\" height=\"48\"> " + "<b><a href=\"", tasks->default_uri, "\">", + _("Tasks"), + "</a></b></dt><dd><b>", _("No tasks"), "</b></dd></dl>", + NULL); return FALSE; } else { char *s; @@ -340,11 +336,9 @@ generate_html (gpointer data) string = g_string_new (NULL); g_string_sprintf (string, "<dl><dt><img src=\"myevo-post-it.png\" align=\"middle\" " "alt=\"\" width=\"48\" height=\"48\"> <b><a href=\"%s\">", tasks->default_uri); - - s = e_utf8_from_locale_string (_("Tasks")); - g_string_append (string, s); - g_free (s); + g_string_append (string, _("Tasks")); g_string_append (string, "</a></b></dt><dd>"); + for (l = uids; l; l = l->next) { char *uid; CalComponent *comp; |