}
else
{
- sprintf (message, _("Could only read %lu of %lu bytes"),
+ sprintf (message,
+ ngettext ("Could only read %lu of %lu byte",
+ "Could only read %lu of %lu bytes",
+ bytes),
(unsigned long) status, (unsigned long) bytes);
report_difference (message);
}
{
char message[MESSAGE_BUFFER_SIZE];
- sprintf (message, _("Could only read %lu of %lu bytes"),
+ sprintf (message,
+ ngettext ("Could only read %lu of %lu byte",
+ "Could only read %lu of %lu bytes",
+ chunk_size),
(unsigned long) status, (unsigned long) chunk_size);
report_difference (message);
}
{
char message[MESSAGE_BUFFER_SIZE];
- sprintf (message, _("Could only read %lu of %lu bytes"),
+ sprintf (message,
+ ngettext ("Could only read %lu of %lu byte",
+ "Could only read %lu of %lu bytes",
+ chunk_size),
(unsigned long) status, (unsigned long) chunk_size);
report_difference (message);
}
flush_read ();
while (1)
{
- enum read_header status = read_header (0);
+ enum read_header status = read_header (false);
if (status == HEADER_FAILURE)
{
do
{
counter++;
- status = read_header (0);
+ status = read_header (false);
}
while (status == HEADER_FAILURE);
ERROR ((0, 0,
- _("VERIFY FAILURE: %d invalid header(s) detected"), counter));
+ ngettext ("VERIFY FAILURE: %d invalid header detected",
+ "VERIFY FAILURE: %d invalid headers detected",
+ counter), counter));
}
if (status == HEADER_ZERO_BLOCK || status == HEADER_END_OF_FILE)
break;