From f0556f35178beb8c540370d8ea6fb2d7fcf187ab Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 8 Aug 1995 04:37:34 +0000 Subject: Annotate localizable strings with _(...). From Franc,ois. --- src/tee.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/tee.c') diff --git a/src/tee.c b/src/tee.c index 5554d154a..b81d37579 100644 --- a/src/tee.c +++ b/src/tee.c @@ -61,19 +61,19 @@ 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 ("Usage: %s [OPTION]... [FILE]...\n", program_name); - printf ("\ + printf (_("Usage: %s [OPTION]... [FILE]...\n"), program_name); + printf (_("\ Copy standard input to each FILE, and also to standard output.\n\ \n\ -a, --append append to the given FILEs, do not overwrite\n\ -i, --ignore-interrupts ignore interrupt signals\n\ --help display this help and exit\n\ --version output version information and exit\n\ -"); +")); } exit (status); } @@ -136,9 +136,9 @@ main (argc, argv) errs = tee (argc - optind, (const char **) &argv[optind]); if (close (0) != 0) - error (1, errno, "standard input"); + error (1, errno, _("standard input")); if (close (1) != 0) - error (1, errno, "standard output"); + error (1, errno, _("standard output")); exit (errs); } @@ -171,7 +171,7 @@ tee (nfiles, files) /* In the array of NFILES + 1 descriptors, make the first one correspond to standard output. */ descriptors[0] = 1; - files[0] = "standard output"; + files[0] = _("standard output"); for (i = 1; i <= nfiles; i++) { @@ -212,7 +212,7 @@ tee (nfiles, files) if (bytes_read == -1) { - error (0, errno, "read error"); + error (0, errno, _("read error")); ret = 1; } -- cgit v1.2.3-54-g00ecf