diff options
author | Crispin Flowerday <gnome@flowerday.cx> | 2006-01-31 05:11:25 +0800 |
---|---|---|
committer | Crispin Flowerday <crispin@src.gnome.org> | 2006-01-31 05:11:25 +0800 |
commit | 1043abd52b4792e5908ff7a76617868f5699c5d6 (patch) | |
tree | 1a8896373889622145461c129ab34f300e60aab2 /src/bookmarks/ephy-bookmark-properties.c | |
parent | 03101dff3364d93e18b7145ff4fcd164bff7eb60 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'src/bookmarks/ephy-bookmark-properties.c')
-rw-r--r-- | src/bookmarks/ephy-bookmark-properties.c | 6 |
1 files changed, 4 insertions, 2 deletions
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); |