From 081ee1af21e55ceda819a8a075c1bc25a3417f52 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 2 Dec 2010 16:24:42 +0100 Subject: Localize few strings with ngettext Per request of bug #635414 --- addressbook/gui/widgets/e-addressbook-view.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'addressbook') 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, -- cgit