(short_read): Use ngettext()

(new_volume): use quote().
This commit is contained in:
Sergey Poznyakoff
2005-02-03 16:28:12 +00:00
parent 63c140752f
commit 91c69c885b

View File

@@ -762,7 +762,10 @@ short_read (size_t status)
{
char buf[UINTMAX_STRSIZE_BOUND];
WARN((0, 0, _("Read %s bytes from %s"),
WARN((0, 0,
ngettext ("Read %s byte from %s",
"Read %s bytes from %s",
record_size - left),
STRINGIFY_BIGINT (record_size - left, buf),
*archive_name_cursor));
}
@@ -1176,7 +1179,8 @@ new_volume (enum access_mode mode)
if (volno_file_option)
closeout_volume_number ();
if (system (info_script_option) != 0)
FATAL_ERROR ((0, 0, _("`%s' command failed"), info_script_option));
FATAL_ERROR ((0, 0, _("%s command failed"),
quote (info_script_option)));
}
else
while (1)