aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/vcard-inline
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/vcard-inline')
-rw-r--r--plugins/vcard-inline/org-gnome-vcard-inline.eplug.xml4
-rw-r--r--plugins/vcard-inline/vcard-inline.c7
2 files changed, 7 insertions, 4 deletions
diff --git a/plugins/vcard-inline/org-gnome-vcard-inline.eplug.xml b/plugins/vcard-inline/org-gnome-vcard-inline.eplug.xml
index c54587d369..f9b2c1693e 100644
--- a/plugins/vcard-inline/org-gnome-vcard-inline.eplug.xml
+++ b/plugins/vcard-inline/org-gnome-vcard-inline.eplug.xml
@@ -14,11 +14,11 @@
<hook class="org.gnome.evolution.mail.format:1.0">
<group id="EMFormatHTMLDisplay">
<item
- mime_type="text/vCard"
+ mime_type="text/vcard"
format="org_gnome_vcard_inline_format"
flags="inline_disposition"/>
<item
- mime_type="text/x-vCard"
+ mime_type="text/x-vcard"
format="org_gnome_vcard_inline_format"
flags="inline_disposition"/>
</group>
diff --git a/plugins/vcard-inline/vcard-inline.c b/plugins/vcard-inline/vcard-inline.c
index 211eb69c2d..0e10b3a82a 100644
--- a/plugins/vcard-inline/vcard-inline.c
+++ b/plugins/vcard-inline/vcard-inline.c
@@ -224,8 +224,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);