From 43f43118634d29618cea74d8950346640142e883 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 20 May 2009 16:50:04 -0400 Subject: Use proper ngettext support in vcard-inline.c --- plugins/vcard-inline/vcard-inline.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/vcard-inline') diff --git a/plugins/vcard-inline/vcard-inline.c b/plugins/vcard-inline/vcard-inline.c index 2d6a93a91d..e2b9e17272 100644 --- a/plugins/vcard-inline/vcard-inline.c +++ b/plugins/vcard-inline/vcard-inline.c @@ -222,8 +222,11 @@ org_gnome_vcard_inline_embed (EMFormatHTML *format, } else if (length > 2) { gchar *text; - text = g_strdup_printf ( - _("There are %d other contacts."), length - 1); + /* Translators: This will always be two or more. */ + text = g_strdup_printf (ngettext ( + "There is %d other contact.", + "There are %d other contacts.", + length - 1), length - 1); gtk_label_set_text (GTK_LABEL (widget), text); gtk_widget_show (widget); g_free (text); -- cgit