1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-05-24 19:26:39 +02:00

nohup, remove, tr: also gettextize the alternative messages

This commit is contained in:
Benno Schulenberg
2008-08-20 23:00:00 +02:00
committed by Jim Meyering
parent 2298544c64
commit 4718a2fdf4
3 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -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"));
+2 -2
View File
@@ -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;
}
+3 -3
View File
@@ -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);
}