From 4f2a8707c16d2b1fbf5ca9d06e1aeaecbf97b052 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 28 Oct 1999 08:24:17 +0000 Subject: [PATCH] Cosmetic POP fixes from Evan DiBiase . --- pop.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pop.c b/pop.c index 23986e55..2ab2ca48 100644 --- a/pop.c +++ b/pop.c @@ -206,8 +206,8 @@ void mutt_fetchPopMail (void) } snprintf (msgbuf, sizeof (msgbuf), - msgs > 1 ? _("Reading %d new message (%d bytes)...") : - _("Reading %d new messages (%d bytes)..."), msgs - last, bytes); + msgs > 1 ? _("Reading new messages (%d bytes)...") : + _("Reading new message (%d bytes)..."), bytes); mutt_message (msgbuf); for (i = last + 1 ; i <= msgs ; i++) @@ -304,7 +304,11 @@ void mutt_fetchPopMail (void) } } - mutt_message (_("%s [%d messages read]"), msgbuf, i); + if ( msgs > 1) + mutt_message (_("%s [%d of %d messages read]"), msgbuf, i, msgs); + else + mutt_message (_("%s [%d message read]"), msgbuf, msgs); + } if (msg) -- 2.49.0