[evolution-mapi] Bug #693345 - dngettext should be used instead of ngettext



commit fb75a9cac1ac9b2c98c8a080b6dcdbec147fea7e
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 26 17:16:58 2013 +0100

    Bug #693345 - dngettext should be used instead of ngettext

 src/configuration/e-mapi-search-gal-user.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/configuration/e-mapi-search-gal-user.c b/src/configuration/e-mapi-search-gal-user.c
index a2e3fd3..bc084be 100644
--- a/src/configuration/e-mapi-search-gal-user.c
+++ b/src/configuration/e-mapi-search-gal-user.c
@@ -223,12 +223,12 @@ search_gal_finish_idle (gpointer user_data)
                        gtk_label_set_text (GTK_LABEL (pgu->info_label), _("No users found"));
                } else if (added == sid->found_total) {
                        gchar *str;
-                       str = g_strdup_printf (ngettext ("Found one user", "Found %d users", added), added);
+                       str = g_strdup_printf (dngettext (GETTEXT_PACKAGE, "Found one user", "Found %d 
users", added), added);
                        gtk_label_set_text (GTK_LABEL (pgu->info_label), str);
                        g_free (str);
                } else {
                        gchar *str;
-                       str = g_strdup_printf (ngettext ("Found %d user, but showing only first %d", "Found 
%d users, but showing only first %d", sid->found_total), sid->found_total, added);
+                       str = g_strdup_printf (dngettext (GETTEXT_PACKAGE, "Found %d user, but showing only 
first %d", "Found %d users, but showing only first %d", sid->found_total), sid->found_total, added);
                        gtk_label_set_text (GTK_LABEL (pgu->info_label), str);
                        g_free (str);
                }


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