aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/vcard-inline
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-21 04:50:04 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-21 04:50:04 +0800
commit43f43118634d29618cea74d8950346640142e883 (patch)
tree325aed00bedae8bcc15f3acd2dc0f5d044c0a8b8 /plugins/vcard-inline
parent16d286593c110aa6ff138a79f5b350e368f9e238 (diff)
downloadgsoc2013-evolution-43f43118634d29618cea74d8950346640142e883.tar
gsoc2013-evolution-43f43118634d29618cea74d8950346640142e883.tar.gz
gsoc2013-evolution-43f43118634d29618cea74d8950346640142e883.tar.bz2
gsoc2013-evolution-43f43118634d29618cea74d8950346640142e883.tar.lz
gsoc2013-evolution-43f43118634d29618cea74d8950346640142e883.tar.xz
gsoc2013-evolution-43f43118634d29618cea74d8950346640142e883.tar.zst
gsoc2013-evolution-43f43118634d29618cea74d8950346640142e883.zip
Use proper ngettext support in vcard-inline.c
Diffstat (limited to 'plugins/vcard-inline')
-rw-r--r--plugins/vcard-inline/vcard-inline.c7
1 files changed, 5 insertions, 2 deletions
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);