[evolution] Bug 744541 - No plural use in KMail importer



commit 160d8e4de3d4cdec56e19d11371b2b3ad90a7e57
Author: David Liang <liangchenye gmail com>
Date:   Tue Feb 17 14:55:26 2015 +0100

    Bug 744541 - No plural use in KMail importer

 mail/importers/kmail-importer.c |    4 ++--
 mail/importers/mail-importer.c  |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/mail/importers/kmail-importer.c b/mail/importers/kmail-importer.c
index 0e35bee..f60ab67 100644
--- a/mail/importers/kmail-importer.c
+++ b/mail/importers/kmail-importer.c
@@ -260,7 +260,7 @@ kmail_getwidget (EImport *ei,
 
        contact_list = kcontact_get_list ();
        count = g_slist_length (contact_list);
-       contact_str = g_strdup_printf (_("%d Address"), count);
+       contact_str = g_strdup_printf (ngettext ("%d Address", "%d Addresses", count), count);
        w = gtk_check_button_new_with_label (contact_str);
        gtk_toggle_button_set_active ((GtkToggleButton *) w, TRUE);
        g_signal_connect (
@@ -352,7 +352,7 @@ EImportImporter *
 kmail_importer_peek (void)
 {
        kmail_importer.name = _("Evolution KMail importer");
-       kmail_importer.description = _("Import mail and contact from KMail.");
+       kmail_importer.description = _("Import mail and contacts from KMail.");
 
        return &kmail_importer;
 }
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c
index e1de752..c3805f3 100644
--- a/mail/importers/mail-importer.c
+++ b/mail/importers/mail-importer.c
@@ -58,7 +58,7 @@ import_mbox_desc (struct _import_mbox_msg *m)
 static gchar *
 import_kmail_desc (struct _import_mbox_msg *m)
 {
-       return g_strdup (_("Importing mail and contact from KMail"));
+       return g_strdup (_("Importing mail and contacts from KMail"));
 }
 
 static struct {


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