doc: fix various translation issues

src/chown.c (usage): Translate parameterized strings.
 src/copy.c (copy_internal): Translate each part of ternary.
* src/cp.c (usage): Fix typo; s/exisiting/existing/.
This commit is contained in:
Pádraig Brady 2024-03-24 19:55:30 +00:00
parent f77a6352fb
commit 6259593ac7
3 changed files with 5 additions and 5 deletions

View File

@ -81,7 +81,7 @@ Usage: %s [OPTION]... %s FILE...\n\
or: %s [OPTION]... --reference=RFILE FILE...\n\
"),
program_name,
chown_mode == CHOWN_CHOWN ? "[OWNER][:[GROUP]]" : "GROUP",
chown_mode == CHOWN_CHOWN ? _("[OWNER][:[GROUP]]") : _("GROUP"),
program_name);
if (chown_mode == CHOWN_CHOWN)
fputs (_("\

View File

@ -2726,9 +2726,9 @@ skip:
if (rename_errno == 0)
{
if (x->verbose)
emit_verbose (_(x->exchange
? "exchanged %s <-> %s"
: "renamed %s -> %s"),
emit_verbose (x->exchange
? _("exchanged %s <-> %s")
: _("renamed %s -> %s"),
src_name, dst_name, dst_backup);
if (x->set_security_context)

View File

@ -195,7 +195,7 @@ Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n\
-L, --dereference always follow symbolic links in SOURCE\n\
"), stdout);
fputs (_("\
-n, --no-clobber (deprecated) silently skip exisiting files.\n\
-n, --no-clobber (deprecated) silently skip existing files.\n\
See also --update\n\
"), stdout);
fputs (_("\