From 8599e3b40cdfb8eb82ed0979f4cb7962dd2b4c4c 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 23986e55c..2ab2ca482 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.40.0