]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(md5_t_stats): Restructure pluralization of error message so it's easier
authorJim Meyering <jim@meyering.net>
Wed, 15 May 1996 04:45:12 +0000 (04:45 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 15 May 1996 04:45:12 +0000 (04:45 +0000)
to translate.

src/md5sum.c

index 3386d40e4ff5d762f671496934a1af3b018b33c9..2cdb4593e790c9123c5be58b913808c98def2c1c 100644 (file)
@@ -362,9 +362,10 @@ md5_check (const char *checkfile_name, int binary)
          if (n_open_or_read_failures > 0)
            {
              error (0, 0,
-                  _("WARNING: %d of %d listed file%s could not be read\n"),
+                  _("WARNING: %d of %d listed %s could not be read\n"),
                     n_open_or_read_failures, n_properly_formated_lines,
-                    (n_properly_formated_lines == 1 ? "" : "s"));
+                    (n_properly_formated_lines == 1
+                     ? _("file") : _("files")));
            }
 
          if (n_mismatched_checksums > 0)