summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-05-15 04:45:12 +0000
committerJim Meyering <jim@meyering.net>1996-05-15 04:45:12 +0000
commit9622bd6207427eeec104591f20138a5ea66bd572 (patch)
tree67b191dcecddee3af54ddbb0513209e5d018583d /src/md5sum.c
parentf177941b93929aa9c7565c38f52a8f80799d5dd5 (diff)
downloadcoreutils-9622bd6207427eeec104591f20138a5ea66bd572.tar.xz
(md5_t_stats): Restructure pluralization of error message so it's easier
to translate.
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 3386d40e4..2cdb4593e 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -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)