Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Add hint interactive cleaning
author
Jean-Noel Avila
<jn.avila@free.fr>
Sun, 1 Mar 2015 11:58:25 +0000
(12:58 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 2 Mar 2015 19:49:35 +0000
(11:49 -0800)
For translators, specify that a [y/N] reply is needed.
Also capitalize the first word in the prompt, as all the other
interactive prompts from this command are capitalized.
Signed-off-by: Jean-Noel Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clean.c
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
282616c
)
diff --git
a/builtin/clean.c
b/builtin/clean.c
index 1032563e5fae880df9256c9eafaa96d60462ecd2..15b378bde3287c114d675d2fca7622c73f1bbe0a 100644
(file)
--- a/
builtin/clean.c
+++ b/
builtin/clean.c
@@
-754,7
+754,8
@@
static int ask_each_cmd(void)
/* Ctrl-D should stop removing files */
if (!eof) {
qname = quote_path_relative(item->string, NULL, &buf);
- printf(_("remove %s? "), qname);
+ /* TRANSLATORS: Make sure to keep [y/N] as is */
+ printf(_("Remove %s [y/N]? "), qname);
if (strbuf_getline(&confirm, stdin, '\n') != EOF) {
strbuf_trim(&confirm);
} else {