aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2003-05-14 19:36:03 +0800
committerXan Lopez <xan@src.gnome.org>2003-05-14 19:36:03 +0800
commitab4fc64696bd1f23bc41943b91939b77a86e164a (patch)
treefaf84a927d99e83ea9e4459b9aa1234de8bed61a
parentcf7d7072442a5da3d3e6779b978259cc471ed65d (diff)
downloadgsoc2013-epiphany-ab4fc64696bd1f23bc41943b91939b77a86e164a.tar
gsoc2013-epiphany-ab4fc64696bd1f23bc41943b91939b77a86e164a.tar.gz
gsoc2013-epiphany-ab4fc64696bd1f23bc41943b91939b77a86e164a.tar.bz2
gsoc2013-epiphany-ab4fc64696bd1f23bc41943b91939b77a86e164a.tar.lz
gsoc2013-epiphany-ab4fc64696bd1f23bc41943b91939b77a86e164a.tar.xz
gsoc2013-epiphany-ab4fc64696bd1f23bc41943b91939b77a86e164a.tar.zst
gsoc2013-epiphany-ab4fc64696bd1f23bc41943b91939b77a86e164a.zip
Don't split sentences.
Don't split sentences.
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-new-bookmark.c10
2 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7690ed160..e6e4752d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2003-05-14 Xan Lopez <xan@masilla.org>
+
+ * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct):
+
+ Don't split sentences, fixes #112938. Patch by dave, l10n iron fist by
+ menthos.
+
2003-05-13 David Bordoley <bordoley@msu.edu>
* data/ui/epiphany-history-window-ui.xml.in:
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 ("<big>",_("A bookmark titled "), "<b>", title, "</b>",
- _(" already exists for this address."), "</big>",NULL);
+ tmp_title = g_strconcat ("<b>", title, "</b>", NULL);
+ tmp_str = g_strdup_printf (_("A bookmark titled %s already exists for this address"),
+ tmp_title);
+ str = g_strconcat ("<big>", tmp_str, "</big>", 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);