summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jean-Noel Avila <jn.avila@free.fr>2015-03-01 12:58:25 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-03-02 11:49:35 -0800
commitd913022763b633e2694a556dbb07f74684b0ee92 (patch)
treea4873af1fdc71956d71bf7bd1daf0db67a25f004
parentMerge branch 'maint-1.9' into maint-2.0 (diff)
downloadtgif-d913022763b633e2694a556dbb07f74684b0ee92.tar.xz
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 1032563e5f..15b378bde3 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 {