[evolution-ews] Bug #693345 - dngettext should be used instead of ngettext
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Bug #693345 - dngettext should be used instead of ngettext
- Date: Tue, 26 Feb 2013 16:15:58 +0000 (UTC)
commit ada105b1251eec67cf81426b911bd24219c8a7fb
Author: Milan Crha <mcrha redhat com>
Date: Tue Feb 26 17:15:37 2013 +0100
Bug #693345 - dngettext should be used instead of ngettext
src/configuration/e-ews-search-user.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/configuration/e-ews-search-user.c b/src/configuration/e-ews-search-user.c
index 157a233..4f4bb6c 100644
--- a/src/configuration/e-ews-search-user.c
+++ b/src/configuration/e-ews-search-user.c
@@ -205,7 +205,7 @@ search_finish_idle (gpointer user_data)
if (sid->found_contacts > 0) {
gchar *str;
str = g_strdup_printf (
- ngettext ("No users found, only one contact", "No users found, only
%d contacts",
+ dngettext (GETTEXT_PACKAGE, "No users found, only one contact", "No
users found, only %d contacts",
sid->found_contacts), sid->found_contacts);
gtk_label_set_text (GTK_LABEL (pgu->info_label), str);
g_free (str);
@@ -214,12 +214,12 @@ search_finish_idle (gpointer user_data)
}
} else if (sid->includes_last_item) {
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 (
+ str = g_strdup_printf (dngettext (GETTEXT_PACKAGE,
"Found more than 100 users, but showing only first %d",
"Found more than 100 users, but showing only first %d", added), added);
gtk_label_set_text (GTK_LABEL (pgu->info_label), str);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]