diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-error.c | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index c48a442515..5b4551ffb9 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2006-02-12 Karsten Bräckelmann <guenther@rudersport.de> + + * e-error.c (e_error_newv): + Removing unnecessary markup in translateable string. + Fixes part of bug #272789. + 2006-02-09 Harish Krishnaswamy <kharish@novell.com> * e-bconf-map.c: Upstreaming Olaf Hering's patch diff --git a/e-util/e-error.c b/e-util/e-error.c index aff11eef6a..e8cf041310 100644 --- a/e-util/e-error.c +++ b/e-util/e-error.c @@ -411,6 +411,7 @@ e_error_newv(GtkWindow *parent, const char *tag, const char *arg0, va_list ap) GString *out; GPtrArray *args; GtkDialog *dialog; + gchar *str; if (error_table == NULL) ee_load_tables(); @@ -439,7 +440,9 @@ e_error_newv(GtkWindow *parent, const char *tag, const char *arg0, va_list ap) || (table = g_hash_table_lookup(error_table, domain)) == NULL || (e = g_hash_table_lookup(table->errors, id)) == NULL) { /* setup a dummy error */ - tmp = g_strdup_printf(_("<span weight=\"bold\">Internal error, unknown error '%s' requested</span>"), tag); + str = g_strdup_printf(_("Internal error, unknown error '%s' requested"), tag); + tmp = g_strdup_printf("<span weight=\"bold\">%s</span>", str); + g_free(str); w = gtk_label_new(NULL); gtk_label_set_selectable((GtkLabel *)w, TRUE); gtk_label_set_line_wrap((GtkLabel *)w, TRUE); |