summaryrefslogtreecommitdiff
path: root/src/dirname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-08-08 04:37:34 +0000
committerJim Meyering <jim@meyering.net>1995-08-08 04:37:34 +0000
commitf0556f35178beb8c540370d8ea6fb2d7fcf187ab (patch)
treeb6b9b9a07d56b90ef84b02bdf892b3580b16767b /src/dirname.c
parent6b853ebe011e7fb5557ed06e9d15af456a2d4710 (diff)
downloadcoreutils-f0556f35178beb8c540370d8ea6fb2d7fcf187ab.tar.xz
Annotate localizable strings with _(...). From Franc,ois.
Diffstat (limited to 'src/dirname.c')
-rw-r--r--src/dirname.c12
1 files changed, 6 insertions, 6 deletions
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);
}