diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-10 13:43:13 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2003-03-10 13:43:13 +0000 |
commit | 1157f8276de4740fdfeaf9bff2e0f4ce8d67dc82 (patch) | |
tree | aaa1a655700eab3f1092719375903b3b7fb9a52a /comsat/comsat.c | |
parent | b77a771ca2eb7070dace50afbfed2b3f48e01e56 (diff) | |
download | mailutils-1157f8276de4740fdfeaf9bff2e0f4ce8d67dc82.tar.gz mailutils-1157f8276de4740fdfeaf9bff2e0f4ce8d67dc82.tar.bz2 |
use ngettext
Diffstat (limited to 'comsat/comsat.c')
-rw-r--r-- | comsat/comsat.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/comsat/comsat.c b/comsat/comsat.c index 3de83973b..66949663a 100644 --- a/comsat/comsat.c +++ b/comsat/comsat.c @@ -286,7 +286,10 @@ comsat_daemon (int port) unsigned delay; delay = overflow_delay_time << (overflow_count + 1); - syslog (LOG_NOTICE, _("too many requests: pausing for %u seconds"), + syslog (LOG_NOTICE, + ngettext ("too many requests: pausing for %u second", + "too many requests: pausing for %u seconds", + delay), delay); sleep (delay); reqcount = 0; @@ -344,7 +347,10 @@ comsat_main (int fd) return 1; } - syslog (LOG_INFO, _("%d bytes from %s"), rdlen, inet_ntoa (sin_from.sin_addr)); + syslog (LOG_INFO, + ngettext ("%d byte from %s", + "%d bytes from %s", rdlen), + rdlen, inet_ntoa (sin_from.sin_addr)); buffer[rdlen] = 0; |