From ab4fc64696bd1f23bc41943b91939b77a86e164a Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Wed, 14 May 2003 11:36:03 +0000 Subject: Don't split sentences. Don't split sentences. --- src/bookmarks/ephy-new-bookmark.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c index 37dc3e16d..973cb489d 100644 --- a/src/bookmarks/ephy-new-bookmark.c +++ b/src/bookmarks/ephy-new-bookmark.c @@ -296,7 +296,7 @@ duplicate_dialog_construct (GtkWindow *parent, { GtkWidget *dialog; GtkWidget *hbox, *vbox, *label, *image; - char *str; + char *str, *tmp_str, *tmp_title; /* FIXME: We "should" use gtk_message dialog here * but it doesn't support markup of text yet @@ -331,9 +331,13 @@ duplicate_dialog_construct (GtkWindow *parent, label = gtk_label_new (NULL); gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5); gtk_label_set_line_wrap (GTK_LABEL (label), TRUE); - str = g_strconcat ("",_("A bookmark titled "), "", title, "", - _(" already exists for this address."), "",NULL); + tmp_title = g_strconcat ("", title, "", NULL); + tmp_str = g_strdup_printf (_("A bookmark titled %s already exists for this address"), + tmp_title); + str = g_strconcat ("", tmp_str, "", NULL); gtk_label_set_markup (GTK_LABEL (label), str); + g_free (tmp_title); + g_free (tmp_str); g_free (str); gtk_box_pack_start (GTK_BOX (vbox), label, TRUE, TRUE, 0); gtk_widget_show (label); -- cgit v1.2.3