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;
}
docstring message = opt.forward ?
bformat(_("%1$s: the end was reached while searching forward.\n"
"Continue searching from the beginning?"),
bformat(_("The end was reached while searching forward.\n"
"Continue searching from the beginning? (Scope:%1$s)"),
scope) :
bformat(_("%1$s: the beginning was reached while searching backward.\n"
"Continue searching from the end?"),
bformat(_("The beginning was reached while searching backward.\n"
"Continue searching from the end? (Scope:%1$s)"),
scope);
return message;