summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/remove.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/remove.c b/src/remove.c
index 6fc8a1dc2..b90055c19 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -598,11 +598,18 @@ prompt (char const *filename, struct rm_options const *x,
: _("%s: descend into directory %s? ")),
program_name, quoted_name);
else
- fprintf (stderr,
- (write_protected
- ? _("%s: remove write-protected %s %s? ")
- : _("%s: remove %s %s? ")),
- program_name, file_type (&sbuf), quoted_name);
+ {
+ /* TRANSLATORS: You may find it more convenient to translate
+ the equivalent of _("%1$s: %3$s is write-protected and is
+ of type `%2$s'. Remove it? "). This is more verbose than
+ the original but it should avoid grammatical problems with
+ the output of file_type. */
+ fprintf (stderr,
+ (write_protected
+ ? _("%s: remove write-protected %s %s? ")
+ : _("%s: remove %s %s? ")),
+ program_name, file_type (&sbuf), quoted_name);
+ }
if (!yesno ())
return RM_USER_DECLINED;