Skip to content

Commit 83ac11f

Browse files
committed
Merge branch 'ja/clean-confirm-i18n'
The prompt string "remove?" used when "git clean -i" asks the user if a path should be removed was localizable, but the code always expects a substring of "yes" to tell it to go ahead. Always show [y/N] as part of this prompt to hint that the answer is not (yet) localized. * ja/clean-confirm-i18n: Add hint interactive cleaning
2 parents b6488fe + d913022 commit 83ac11f

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)