summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noel Avila <jn.avila@free.fr>2015-03-01 11:58:25 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-03-02 19:49:35 (GMT)
commitd913022763b633e2694a556dbb07f74684b0ee92 (patch)
treea4873af1fdc71956d71bf7bd1daf0db67a25f004
parent282616c72d1d08a77ca4fe1186cb708c38408d87 (diff)
downloadgit-d913022763b633e2694a556dbb07f74684b0ee92.zip
git-d913022763b633e2694a556dbb07f74684b0ee92.tar.gz
git-d913022763b633e2694a556dbb07f74684b0ee92.tar.bz2
Add hint interactive cleaning
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>
-rw-r--r--builtin/clean.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin/clean.c b/builtin/clean.c
index 1032563..15b378b 100644
--- 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 {