aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-05 04:08:26 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-05 04:08:26 +0800
commitee75ead90dda40cfc066a52969ca2f91fe04ad95 (patch)
tree817182b51fce64d9ed07c71c4f45abaa680320a0 /src/bookmarks
parent1858d9bed5777d9c1c432da46c26c9b89bdc988c (diff)
downloadgsoc2013-epiphany-ee75ead90dda40cfc066a52969ca2f91fe04ad95.tar
gsoc2013-epiphany-ee75ead90dda40cfc066a52969ca2f91fe04ad95.tar.gz
gsoc2013-epiphany-ee75ead90dda40cfc066a52969ca2f91fe04ad95.tar.bz2
gsoc2013-epiphany-ee75ead90dda40cfc066a52969ca2f91fe04ad95.tar.lz
gsoc2013-epiphany-ee75ead90dda40cfc066a52969ca2f91fe04ad95.tar.xz
gsoc2013-epiphany-ee75ead90dda40cfc066a52969ca2f91fe04ad95.tar.zst
gsoc2013-epiphany-ee75ead90dda40cfc066a52969ca2f91fe04ad95.zip
Remove unnecessary markup from translations.
2003-01-04 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: * embed/mozilla/PromptService.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * lib/toolbar/ephy-tbi-zoom.c: (ephy_tbi_zoom_get_widget_impl): * lib/widgets/ephy-notebook.c: (tab_build_label): * src/bookmarks/ephy-bookmarks-editor.c: (build_editing_table), (build_search_box): * src/bookmarks/ephy-new-bookmark.c: (build_editing_table): * src/ephy-window.c: (ephy_window_notebook_switch_page_cb): * src/pdm-dialog.c: (show_cookies_properties): * src/session.c: (crashed_resume_dialog): Remove unnecessary markup from translations.
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c14
-rw-r--r--src/bookmarks/ephy-new-bookmark.c9
2 files changed, 18 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 2888950df..66454d586 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -263,6 +263,7 @@ static GtkWidget *
build_editing_table (EphyBookmarksEditor *editor)
{
GtkWidget *table, *label, *entry;
+ char *str;
table = gtk_table_new (2, 2, FALSE);
gtk_table_set_row_spacings (GTK_TABLE (table), 6);
@@ -271,7 +272,9 @@ build_editing_table (EphyBookmarksEditor *editor)
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- gtk_label_set_markup (GTK_LABEL (label), _("<b>Title:</b>"));
+ str = g_strconcat ("<b>", _("Title:"), "</b>", NULL);
+ gtk_label_set_markup (GTK_LABEL (label), str);
+ g_free (str);
gtk_widget_show (label);
entry = gtk_entry_new ();
editor->priv->title_entry = entry;
@@ -285,7 +288,9 @@ build_editing_table (EphyBookmarksEditor *editor)
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- gtk_label_set_markup (GTK_LABEL (label), _("<b>Keywords:</b>"));
+ str = g_strconcat ("<b>", _("Keywords:"), "</b>", NULL);
+ gtk_label_set_markup (GTK_LABEL (label), str);
+ g_free (str);
gtk_widget_show (label);
entry = ephy_keywords_entry_new ();
ephy_keywords_entry_set_bookmarks (EPHY_KEYWORDS_ENTRY (entry),
@@ -365,13 +370,16 @@ build_search_box (EphyBookmarksEditor *editor)
GtkWidget *box;
GtkWidget *label;
GtkWidget *entry;
+ char *str;
box = gtk_hbox_new (FALSE, 6);
gtk_widget_show (box);
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- gtk_label_set_markup (GTK_LABEL (label), _("<b>Search:</b>"));
+ str = g_strconcat ("<b>", _("Search:"), "</b>", NULL);
+ gtk_label_set_markup (GTK_LABEL (label), str);
+ g_free (str);
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (box),
label, FALSE, TRUE, 0);
diff --git a/src/bookmarks/ephy-new-bookmark.c b/src/bookmarks/ephy-new-bookmark.c
index 2b282fd6e..e5d9c496d 100644
--- a/src/bookmarks/ephy-new-bookmark.c
+++ b/src/bookmarks/ephy-new-bookmark.c
@@ -175,6 +175,7 @@ static GtkWidget *
build_editing_table (EphyNewBookmark *editor)
{
GtkWidget *table, *label, *entry;
+ char *str;
table = gtk_table_new (2, 2, FALSE);
gtk_table_set_row_spacings (GTK_TABLE (table), 6);
@@ -183,7 +184,9 @@ build_editing_table (EphyNewBookmark *editor)
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- gtk_label_set_markup (GTK_LABEL (label), _("<b>Title:</b>"));
+ str = g_strconcat ("<b>", _("Title:"), "</b>", NULL);
+ gtk_label_set_markup (GTK_LABEL (label), str);
+ g_free (str);
gtk_widget_show (label);
entry = gtk_entry_new ();
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
@@ -195,7 +198,9 @@ build_editing_table (EphyNewBookmark *editor)
label = gtk_label_new (NULL);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
- gtk_label_set_markup (GTK_LABEL (label), _("<b>Keywords:</b>"));
+ str = g_strconcat ("<b>", _("Keywords:"), "</b>", NULL);
+ gtk_label_set_markup (GTK_LABEL (label), str);
+ g_free (str);
gtk_widget_show (label);
entry = ephy_keywords_entry_new ();
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);