diff options
Diffstat (limited to 'plugins/bbdb')
-rw-r--r-- | plugins/bbdb/ChangeLog | 6 | ||||
-rw-r--r-- | plugins/bbdb/bbdb.c | 9 |
2 files changed, 13 insertions, 2 deletions
diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog index 69452e06dd..123fb6c25b 100644 --- a/plugins/bbdb/ChangeLog +++ b/plugins/bbdb/ChangeLog @@ -1,3 +1,9 @@ +2006-02-12 Karsten Bräckelmann <guenther@rudersport.de> + + * bbdb.c (bbdb_page_factory): + Removing unnecessary markup in translateable string. + Fixes part of bug #272789. + 2006-01-23 Devashish Sharma <sdevashish@novell.com> * bbdb.c : diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c index 4eea3fb3fb..3c9cca5e2a 100644 --- a/plugins/bbdb/bbdb.c +++ b/plugins/bbdb/bbdb.c @@ -418,6 +418,7 @@ bbdb_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) GtkWidget *label; GtkWidget *gaim_label; GtkWidget *button; + gchar *str; /* A structure to pass some stuff around */ stuff = g_new0 (struct bbdb_stuff, 1); @@ -435,7 +436,9 @@ bbdb_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) /* "Automatic Contacts" */ frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("<span weight=\"bold\">Automatic Contacts</span>")); + str = g_strdup_printf ("<span weight=\"bold\">%s</span>", _("Automatic Contacts")); + gtk_label_set_markup (GTK_LABEL (frame_label), str); + gfree (str); GTK_MISC (frame_label)->xalign = 0.0; gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0); @@ -469,7 +472,9 @@ bbdb_page_factory (EPlugin *ep, EConfigHookItemFactoryData *hook_data) gtk_box_pack_start (GTK_BOX (page), frame, TRUE, TRUE, 24); frame_label = gtk_label_new (""); - gtk_label_set_markup (GTK_LABEL (frame_label), _("<span weight=\"bold\">Instant Messaging Contacts</span>")); + str = g_strdup_printf ("<span weight=\"bold\">%s</span>", _("Instant Messaging Contacts")); + gtk_label_set_markup (GTK_LABEL (frame_label), str); + gfree (str); GTK_MISC (frame_label)->xalign = 0.0; gtk_box_pack_start (GTK_BOX (frame), frame_label, FALSE, FALSE, 0); |