diff options
author | Jim Meyering <jim@meyering.net> | 1995-08-08 04:37:34 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-08-08 04:37:34 +0000 |
commit | f0556f35178beb8c540370d8ea6fb2d7fcf187ab (patch) | |
tree | b6b9b9a07d56b90ef84b02bdf892b3580b16767b /src/tty.c | |
parent | 6b853ebe011e7fb5557ed06e9d15af456a2d4710 (diff) | |
download | coreutils-f0556f35178beb8c540370d8ea6fb2d7fcf187ab.tar.xz |
Annotate localizable strings with _(...). From Franc,ois.
Diffstat (limited to 'src/tty.c')
-rw-r--r-- | src/tty.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -99,10 +99,10 @@ main (argc, argv) if (tty) puts (tty); else - puts ("not a tty"); + puts (_("not a tty")); if (ferror (stdout) || fclose (stdout) == EOF) - error (3, errno, "standard output"); + error (3, errno, _("standard output")); } exit (isatty (0) ? 0 : 1); @@ -113,18 +113,18 @@ 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]...\n", program_name); - printf ("\ + printf (_("Usage: %s [OPTION]...\n"), program_name); + printf (_("\ Print the file name of the terminal connected to standard input.\n\ \n\ -s, --silent, --quiet print nothing, only return an exit status\n\ --help display this help and exit\n\ --version output version information and exit\n\ -"); +")); } exit (status); } |