diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index f57d52913b..ca6781ea58 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2004-03-24 Danilo Ĺ egan <dsegan@gmx.net> + + * mail-ops.c (get_messages_desc): Use ngettext for handling plural + forms (fixes bug #53464). + 2004-03-23 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (emfh_gethttp): Use sizeof() to decide how big 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 |