From 4718a2fdf407a7db8ff6150bcc401cc2375c01eb Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 20 Aug 2008 23:00:00 +0200 Subject: nohup, remove, tr: also gettextize the alternative messages --- src/nohup.c | 8 ++++---- src/remove.c | 4 ++-- src/tr.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3-54-g00ecf