From 92c50e7f527080fa7a1a7745d235f436ff7411fd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 7 Aug 1995 14:57:29 +0000 Subject: Annotate localizable strings with _(...). From Franc,ois. --- src/uniq.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/uniq.c') 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); } -- cgit v1.2.3-54-g00ecf