Mercurial > pidgin
changeset 9624:abacf29577b2
[gaim-migrate @ 10468]
[ 845914 ] Bad i18n style in gtklog.c
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sat, 31 Jul 2004 23:03:47 +0000 |
parents | a6351c2b1150 |
children | 3ec0b63d4f2e |
files | src/gtklog.c |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtklog.c Sat Jul 31 22:23:25 2004 +0000 +++ b/src/gtklog.c Sat Jul 31 23:03:47 2004 +0000 @@ -258,7 +258,7 @@ GtkTreeSelection *sel; GtkWidget *icon, *label, *pane, *sw, *button; GList *logs; - char *text; + char *text ,*ttext; struct log_viewer_hash_t *ht = g_new0(struct log_viewer_hash_t, 1); ht->screenname = g_strdup(screenname); @@ -298,8 +298,11 @@ /* Label ************/ label = gtk_label_new(NULL); - text = g_strdup_printf("<span size='larger' weight='bold'>%s %s</span>", - _("Conversations with"), screenname); + + ttext = g_strdup_printf(_("Conversations with %s"), screenname); + text = g_strdup_printf("<span size='larger' weight='bold'>%s</span>",ttext); + g_free(ttext); + gtk_label_set_markup(GTK_LABEL(label), text); gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0); g_free(text);