* file.c (real_query_recursive): Default to empty string, not to

"no" when asking to enter "yes".  Add note for translators.
This commit is contained in:
Pavel Roskin 2002-10-21 06:01:04 +00:00
parent a53c486e4f
commit 7571ef816d
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-10-21 Pavel Roskin <proski@gnu.org> 2002-10-21 Pavel Roskin <proski@gnu.org>
* file.c (real_query_recursive): Default to empty string, not to
"no" when asking to enter "yes". Add note for translators.
* cmd.c (do_view_cmd): When asking confirmation, correctly * cmd.c (do_view_cmd): When asking confirmation, correctly
interpret closing the dialog by escape. interpret closing the dialog by escape.

View File

@ -2233,8 +2233,9 @@ real_query_recursive (FileOpContext *ctx, enum OperationMode mode, char *s)
confirm = input_dialog ( confirm = input_dialog (
mode == Foreground ? _(" Recursive Delete ") mode == Foreground ? _(" Recursive Delete ")
: _(" Background process: Recursive Delete "), : _(" Background process: Recursive Delete "),
text, _("no")); text, NULL);
do_refresh (); do_refresh ();
/* TRANSLATORS: user types this text to confirm deletion */
if (!confirm || strcmp (confirm, _("yes"))) if (!confirm || strcmp (confirm, _("yes")))
ctx->recursive_result = RECURSIVE_NEVER; ctx->recursive_result = RECURSIVE_NEVER;
g_free (confirm); g_free (confirm);