aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2006-01-31 05:11:25 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2006-01-31 05:11:25 +0800
commit1043abd52b4792e5908ff7a76617868f5699c5d6 (patch)
tree1a8896373889622145461c129ab34f300e60aab2
parent03101dff3364d93e18b7145ff4fcd164bff7eb60 (diff)
downloadgsoc2013-epiphany-1043abd52b4792e5908ff7a76617868f5699c5d6.tar
gsoc2013-epiphany-1043abd52b4792e5908ff7a76617868f5699c5d6.tar.gz
gsoc2013-epiphany-1043abd52b4792e5908ff7a76617868f5699c5d6.tar.bz2
gsoc2013-epiphany-1043abd52b4792e5908ff7a76617868f5699c5d6.tar.lz
gsoc2013-epiphany-1043abd52b4792e5908ff7a76617868f5699c5d6.tar.xz
gsoc2013-epiphany-1043abd52b4792e5908ff7a76617868f5699c5d6.tar.zst
gsoc2013-epiphany-1043abd52b4792e5908ff7a76617868f5699c5d6.zip
Use ngettext() for plural string. Fixes bug #329242
2006-01-30 Crispin Flowerday <gnome@flowerday.cx> * src/bookmarks/ephy-bookmark-properties.c: (update_warning), (ephy_bookmark_properties_constructor): Use ngettext() for plural string. Fixes bug #329242
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-bookmark-properties.c6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9c6192d22..02bebb4d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-30 Crispin Flowerday <gnome@flowerday.cx>
+
+ * src/bookmarks/ephy-bookmark-properties.c: (update_warning),
+ (ephy_bookmark_properties_constructor):
+
+ Use ngettext() for plural string. Fixes bug #329242
+
2006-01-30 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyAboutModule.cpp:
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c
index ec6e60a87..578ab4eef 100644
--- a/src/bookmarks/ephy-bookmark-properties.c
+++ b/src/bookmarks/ephy-bookmark-properties.c
@@ -87,7 +87,9 @@ update_warning (EphyBookmarkProperties *properties)
priv->duplicate_count = ephy_bookmarks_count_duplicates
(priv->bookmarks, priv->bookmark);
- label = g_strdup_printf (_("%d _Similar"), priv->duplicate_count);
+ /* Translators: This string is used when counting bookmarks that
+ * are similar to each other */
+ label = g_strdup_printf (ngettext("%d _Similar", "%d _Similar", priv->duplicate_count), priv->duplicate_count);
gtk_button_set_label (GTK_BUTTON (priv->warning), label);
g_free (label);
@@ -523,7 +525,7 @@ ephy_bookmark_properties_constructor (GType type,
priv->warning = gtk_button_new ();
gtk_button_set_use_underline (GTK_BUTTON (priv->warning), TRUE);
- text = g_strdup_printf (_("%d _Similar"), 0);
+ text = g_strdup_printf (ngettext("%d _Similar", "%d _Similar", 0), 0);
gtk_button_set_label (GTK_BUTTON (priv->warning), text);
g_free (text);
widget = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, GTK_ICON_SIZE_BUTTON);