Skip to content

Commit d913022

Browse files
jnavilagitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 282616c commit d913022

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builtin/clean.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,8 @@ static int ask_each_cmd(void)
754754
/* Ctrl-D should stop removing files */
755755
if (!eof) {
756756
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);
758759
if (strbuf_getline(&confirm, stdin, '\n') != EOF) {
759760
strbuf_trim(&confirm);
760761
} else {

0 commit comments

Comments
 (0)