Commit 1157f827 1157f8276de4740fdfeaf9bff2e0f4ce8d67dc82 by Sergey Poznyakoff

use ngettext

1 parent b77a771c
...@@ -286,7 +286,10 @@ comsat_daemon (int port) ...@@ -286,7 +286,10 @@ comsat_daemon (int port)
286 unsigned delay; 286 unsigned delay;
287 287
288 delay = overflow_delay_time << (overflow_count + 1); 288 delay = overflow_delay_time << (overflow_count + 1);
289 syslog (LOG_NOTICE, _("too many requests: pausing for %u seconds"), 289 syslog (LOG_NOTICE,
290 ngettext ("too many requests: pausing for %u second",
291 "too many requests: pausing for %u seconds",
292 delay),
290 delay); 293 delay);
291 sleep (delay); 294 sleep (delay);
292 reqcount = 0; 295 reqcount = 0;
...@@ -344,7 +347,10 @@ comsat_main (int fd) ...@@ -344,7 +347,10 @@ comsat_main (int fd)
344 return 1; 347 return 1;
345 } 348 }
346 349
347 syslog (LOG_INFO, _("%d bytes from %s"), rdlen, inet_ntoa (sin_from.sin_addr)); 350 syslog (LOG_INFO,
351 ngettext ("%d byte from %s",
352 "%d bytes from %s", rdlen),
353 rdlen, inet_ntoa (sin_from.sin_addr));
348 354
349 buffer[rdlen] = 0; 355 buffer[rdlen] = 0;
350 356
......