aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-12-02 23:24:42 +0800
committerMilan Crha <mcrha@redhat.com>2010-12-02 23:24:42 +0800
commit081ee1af21e55ceda819a8a075c1bc25a3417f52 (patch)
treef648763a26fece7edd235a256b8befce6d29db52 /addressbook
parent12ea46655183a26ab59627c5adc43369d9729e50 (diff)
downloadgsoc2013-evolution-081ee1af21e55ceda819a8a075c1bc25a3417f52.tar.gz
gsoc2013-evolution-081ee1af21e55ceda819a8a075c1bc25a3417f52.tar.zst
gsoc2013-evolution-081ee1af21e55ceda819a8a075c1bc25a3417f52.zip
Localize few strings with ngettext
Per request of bug #635414
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index bb5fc15bb8..ecb6ea7ed5 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -1469,9 +1469,13 @@ e_addressbook_view_view (EAddressbookView *view)
/* XXX Provide a parent window. */
dialog = gtk_message_dialog_new (
NULL, 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE,
- _("Opening %d contacts will open %d new windows as "
- "well.\nDo you really want to display all of these "
- "contacts?"), length, length);
+ ngettext (
+ /* Translators: This is shown for more than 5 contacts. */
+ "Opening %d contacts will open %d new windows as well.\nDo you really want to display all of these contacts?",
+ "Opening %d contacts will open %d new windows as well.\nDo you really want to display all of these contacts?",
+ length
+ ),
+ length, length);
gtk_dialog_add_buttons (
GTK_DIALOG (dialog),
_("_Don't Display"), GTK_RESPONSE_NO,