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>
Jean-Noel Avila committed
Mar 1, 2015 at 12:58 UTC
d913022763b633e2694a556dbb07f74684b0ee92
1 file changed
+2
-1
builtin/clean.c
+2
-1
@@ -754,7 +754,8 @@ static int ask_each_cmd(void)
754
/* Ctrl-D should stop removing files */
755
if (!eof) {
756
qname = quote_path_relative(item->string, NULL, &buf);
757
- printf(_("remove %s? "), qname);
757
+ /* TRANSLATORS: Make sure to keep [y/N] as is */
758
+ printf(_("Remove %s [y/N]? "), qname);
759
if (strbuf_getline(&confirm, stdin, '\n') != EOF) {
760
strbuf_trim(&confirm);
761
} else {