diff options
author | Jim Meyering <jim@meyering.net> | 1995-08-07 14:57:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-08-07 14:57:29 +0000 |
commit | 92c50e7f527080fa7a1a7745d235f436ff7411fd (patch) | |
tree | e558f31db7be5292af01682042e2b2c121ac9b7f /src/uniq.c | |
parent | 22ebf9c6ac7640bf58cfa9662eae765a61bf9f0f (diff) | |
download | coreutils-92c50e7f527080fa7a1a7745d235f436ff7411fd.tar.xz |
Annotate localizable strings with _(...). From Franc,ois.
Diffstat (limited to 'src/uniq.c')
-rw-r--r-- | src/uniq.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/uniq.c b/src/uniq.c index 8f86e978f..7c4aa1c0d 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -252,10 +252,10 @@ check_file (infile, outfile) closefiles: if (ferror (istream) || fclose (istream) == EOF) - error (1, errno, "error reading %s", infile); + error (1, errno, _("error reading %s"), infile); if (ferror (ostream) || fclose (ostream) == EOF) - error (1, errno, "error writing %s", outfile); + error (1, errno, _("error writing %s"), outfile); free (lb1.buffer); free (lb2.buffer); @@ -341,15 +341,15 @@ usage (status) int status; { if (status != 0) - fprintf (stderr, "Try `%s --help' for more information.\n", + fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); else { - printf ("\ + printf (_("\ Usage: %s [OPTION]... [INPUT [OUTPUT]]\n\ -", +"), program_name); - printf ("\ + printf (_("\ Discard all but one of successive identical lines from INPUT (or\n\ standard input), writing to OUTPUT (or standard output).\n\ \n\ @@ -366,7 +366,7 @@ standard input), writing to OUTPUT (or standard output).\n\ \n\ A field is a run of whitespace, than non-whitespace characters.\n\ Fields are skipped before chars. \n\ -"); +")); } exit (status); } |