From 7c70ddcc35a65e1078a7789832e5209a7a2e4a5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20=C5=A0egan?= Date: Wed, 24 Mar 2004 00:18:02 +0000 Subject: Use ngettext for handling plural forms throughout (fixes bug 53464). svn path=/trunk/; revision=25168 --- mail/mail-ops.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mail/mail-ops.c') diff --git a/mail/mail-ops.c b/mail/mail-ops.c index ca2027c25d..d2e8a19c4e 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1835,7 +1835,9 @@ static char * get_messages_desc(struct _mail_msg *mm, int done) { struct _get_messages_msg *m = (struct _get_messages_msg *)mm; - return g_strdup_printf(_("Retrieving %d message(s)"), m->uids->len); + return g_strdup_printf(ngettext("Retrieving %d message", + "Retrieving %d messages", m->uids->len), + m->uids->len); } static void get_messages_get(struct _mail_msg *mm) @@ -1919,7 +1921,9 @@ static char *save_messages_desc(struct _mail_msg *mm, int done) { struct _save_messages_msg *m = (struct _save_messages_msg *)mm; - return g_strdup_printf(_("Saving %d messsage(s)"), m->uids->len); + return g_strdup_printf(ngettext("Saving %d message", + "Saving %d messsages", m->uids->len), + m->uids->len); } static void -- cgit v1.2.3