[evolution: 7/8] Use proper ngettext support in vcard-inline.c



commit 43f43118634d29618cea74d8950346640142e883
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed May 20 16:50:04 2009 -0400

    Use proper ngettext support in vcard-inline.c
---
 plugins/vcard-inline/vcard-inline.c |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/plugins/vcard-inline/vcard-inline.c b/plugins/vcard-inline/vcard-inline.c
index 2d6a93a..e2b9e17 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]