aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
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
parent0a8fecc95294179fe2db1d581e3395016ec03dff (diff)
downloadgsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar
gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar.gz
gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar.bz2
gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar.lz
gsoc2013-evolution-62979463404b455e7c656e48c1ecb5f986d9c2c8.tar.xz
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')
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-error.c5
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);