]> Dogcows Code - chaz/tar/commitdiff
(short_read): Use ngettext()
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 3 Feb 2005 16:28:12 +0000 (16:28 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 3 Feb 2005 16:28:12 +0000 (16:28 +0000)
(new_volume): use quote().

src/buffer.c

index 6390d7db401c0194b2443481cfa57e9df75f78e6..1e6e1bf32817bf47612235087b041dca5ebd2b96 100644 (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)
This page took 0.026439 seconds and 4 git commands to generate.