mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
doc: improve remove prompt translator comment
* src/remove.c (prompt): Explain where the difficulty with translating these two strings resides, and suggest an alternative: the one that Paul Eggert first proposed back in 2002, which seems fully resistant.
This commit is contained in:
1 parent
02807c611e
commit
943f3592ca
1 file changed
+5
-4
+5
-4
@@ -283,10 +283,11 @@ prompt (FTS const *fts, FTSENT const *ent, bool is_dir,
|
||||
|
||||
fprintf (stderr,
|
||||
(write_protected
|
||||
/* TRANSLATORS: You may find it more convenient to
|
||||
translate "%s: remove %s (write-protected) %s? "
|
||||
instead. It should avoid grammatical problems
|
||||
with the output of file_type. */
|
||||
/* TRANSLATORS: In the next two strings the second %s is
|
||||
replaced by the type of the file. To avoid grammatical
|
||||
problems, it may be more convenient to translate these
|
||||
strings instead as: "%1$s: %3$s is write-protected and
|
||||
is of type '%2$s' -- remove it? ". */
|
||||
? _("%s: remove write-protected %s %s? ")
|
||||
: _("%s: remove %s %s? ")),
|
||||
program_name, file_type (sbuf), quoted_name);
|
||||
|
||||
Reference in new issue
Block a user