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/dirname.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/dirname.c') diff --git a/src/dirname.c b/src/dirname.c index 4386a8744..6cb5c9a7b 100644 --- a/src/dirname.c +++ b/src/dirname.c @@ -36,22 +36,22 @@ 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 NAME\n\ or: %s OPTION\n\ -", +"), program_name, program_name); - printf ("\ + printf (_("\ Print NAME with its trailing /component removed; if NAME contains no /'s,\n\ output `.' (meaning the current directory).\n\ \n\ --help display this help and exit\n\ --version output version information and exit\n\ -"); +")); } exit (status); } @@ -70,7 +70,7 @@ main (argc, argv) if (argc != 2) { - error (0, 0, "too %s arguments", argc < 2 ? "few" : "many"); + error (0, 0, _("too %s arguments"), argc < 2 ? _("few") : _("many")); usage (1); } -- cgit v1.2.3-54-g00ecf