diff options
author | Benno Schulenberg <bensberg@justemail.net> | 2014-04-16 21:26:54 +0200 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-04-16 23:34:42 +0100 |
commit | 943f3592ca10caaee7b991078f33a4e0f985a2f8 (patch) | |
tree | 74fcdb5d3be3e707c3ea42b703d470843815f572 | |
parent | 02807c611efa0d2052c4d2f852a84b22c49d9e52 (diff) | |
download | coreutils-943f3592ca10caaee7b991078f33a4e0f985a2f8.tar.xz |
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.
-rw-r--r-- | src/remove.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/remove.c b/src/remove.c index b98f3ecb2..4cc4a0817 100644 --- a/src/remove.c +++ b/src/remove.c @@ -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); |