aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-03 19:20:33 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-03 19:20:33 +0000
commit546054f6df80c07ebd9d27e8c679af014e38c2a8 (patch)
tree4047a07a859ab2176da975e96ad0c3f7e2dc315b /driver.c
parent7956b1555138ce0eb84e41b0df7d708fd88129cf (diff)
downloadfetchmail-546054f6df80c07ebd9d27e8c679af014e38c2a8.tar.gz
fetchmail-546054f6df80c07ebd9d27e8c679af014e38c2a8.tar.bz2
fetchmail-546054f6df80c07ebd9d27e8c679af014e38c2a8.zip
i18n fixes, cs.po updates, by Miloslav Trmac.
svn path=/trunk/; revision=4076
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/driver.c b/driver.c
index eb972bd9..f507b135 100644
--- a/driver.c
+++ b/driver.c
@@ -601,12 +601,9 @@ static int fetch_messages(int mailserver_socket, struct query *ctl,
ctl->remotename, ctl->server.truename,
num, count);
- /* XXX FIXME: the gettext stuff needs to list "octets" or
- * "header octets" as a unit, and also provide for
- * proper plural form */
if (len > 0)
- report_build(stdout, GT_(" (%d %soctets)"),
- len, wholesize ? "" : GT_("header "));
+ report_build(stdout, wholesize ? GT_(" (%d octets)")
+ : GT_(" (%d header octets)"), len);
if (outlevel >= O_VERBOSE)
report_complete(stdout, "\n");
else
@@ -809,7 +806,9 @@ flagthemail:
/* perhaps this as many as we're ready to handle */
if (maxfetch && maxfetch <= *fetches && num < count)
{
- report(stdout, GT_("fetchlimit %d reached; %d messages left on server %s account %s\n"),
+ report(stdout,
+ ngettext("fetchlimit %d reached; %d message left on server %s account %s\n",
+ "fetchlimit %d reached; %d messages left on server %s account %s\n", count - *fetches),
maxfetch, count - *fetches, ctl->server.truename, ctl->remotename);
return(PS_MAXFETCH);
}