From: Sergey Poznyakoff Date: Thu, 3 Feb 2005 16:28:12 +0000 (+0000) Subject: (short_read): Use ngettext() X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=91c69c885bfd2beb4f6b0e266da5d6682673006f;p=chaz%2Ftar (short_read): Use ngettext() (new_volume): use quote(). --- diff --git a/src/buffer.c b/src/buffer.c index 6390d7d..1e6e1bf 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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)