Adv. F&R: strange dialog text

Fixes #12997
Added 'Scope' to better indicate the searched area.
This commit is contained in:
Kornel Benko 2024-06-03 08:23:35 +02:00
parent 63b23ce288
commit 5fdbd2cf32

View File

@ -298,11 +298,11 @@ docstring getQuestionString(FindAndReplaceOptions const & opt)
break; break;
} }
docstring message = opt.forward ? docstring message = opt.forward ?
bformat(_("%1$s: the end was reached while searching forward.\n" bformat(_("The end was reached while searching forward.\n"
"Continue searching from the beginning?"), "Continue searching from the beginning? (Scope:%1$s)"),
scope) : scope) :
bformat(_("%1$s: the beginning was reached while searching backward.\n" bformat(_("The beginning was reached while searching backward.\n"
"Continue searching from the end?"), "Continue searching from the end? (Scope:%1$s)"),
scope); scope);
return message; return message;