aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-error.c
diff options
context:
space:
mode:
authorKarsten Bräckelmann <kbrae@src.gnome.org>2006-02-13 07:15:23 +0800
committerKarsten Bräckelmann <kbrae@src.gnome.org>2006-02-13 07:15:23 +0800
commit62979463404b455e7c656e48c1ecb5f986d9c2c8 (patch)
treed7b3d094debf75ba8e70ce7e16753e1d6c1d1041 /e-util/e-error.c
parent0a8fecc95294179fe2db1d581e3395016ec03dff (diff)
downloadgsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar.gz
gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar.zst
gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.zip
Removing unnecessary markup in translateable string.
svn path=/trunk/; revision=31494
Diffstat (limited to 'e-util/e-error.c')
-rw-r--r--e-util/e-error.c5
1 files changed, 4 insertions, 1 deletions
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);