summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2008-08-20 23:00:00 +0200
committerJim Meyering <meyering@redhat.com>2008-09-19 12:27:36 +0200
commit4718a2fdf407a7db8ff6150bcc401cc2375c01eb (patch)
tree0e25d9c45cb723674b3cac23317f876f23885aee /src
parent2298544c64a8706cbc1ebd3acae301704d9488f2 (diff)
downloadcoreutils-4718a2fdf407a7db8ff6150bcc401cc2375c01eb.tar.xz
nohup, remove, tr: also gettextize the alternative messages
Diffstat (limited to 'src')
-rw-r--r--src/nohup.c8
-rw-r--r--src/remove.c4
-rw-r--r--src/tr.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/src/nohup.c b/src/nohup.c
index 3ff22eac8..3364e9191 100644
--- a/src/nohup.c
+++ b/src/nohup.c
@@ -162,8 +162,8 @@ main (int argc, char **argv)
umask (umask_value);
error (0, 0,
_(ignoring_input
- ? "ignoring input and appending output to %s"
- : "appending output to %s"),
+ ? N_("ignoring input and appending output to %s")
+ : N_("appending output to %s")),
quote (file));
free (in_home);
}
@@ -185,8 +185,8 @@ main (int argc, char **argv)
if (!redirecting_stdout)
error (0, 0,
_(ignoring_input
- ? "ignoring input and redirecting stderr to stdout"
- : "redirecting stderr to stdout"));
+ ? N_("ignoring input and redirecting stderr to stdout")
+ : N_("redirecting stderr to stdout")));
if (dup2 (out_fd, STDERR_FILENO) < 0)
error (NOHUP_FAILURE, errno, _("failed to redirect standard error"));
diff --git a/src/remove.c b/src/remove.c
index 4c3ee99ea..58b24a3d2 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -1541,8 +1541,8 @@ rm_1 (Dirstack_state *ds, char const *filename,
if (dot_or_dotdot (base))
{
error (0, 0, _(base == filename
- ? "cannot remove directory %s"
- : "cannot remove %s directory %s"),
+ ? N_("cannot remove directory %s")
+ : N_("cannot remove %s directory %s")),
quote_n (0, base), quote_n (1, filename));
return RM_ERROR;
}
diff --git a/src/tr.c b/src/tr.c
index e1bb40499..4dde099f0 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -1720,9 +1720,9 @@ main (int argc, char **argv)
error (0, 0, _("missing operand after %s"), quote (argv[argc - 1]));
fprintf (stderr, "%s\n",
_(squeeze_repeats
- ? ("Two strings must be given when "
- "both deleting and squeezing repeats.")
- : "Two strings must be given when translating."));
+ ? N_("Two strings must be given when "
+ "both deleting and squeezing repeats.")
+ : N_("Two strings must be given when translating.")));
}
usage (EXIT_FAILURE);
}