mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
* FindReplace: allow proper localization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33166 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f9b53405a0
commit
407b359809
@ -34,6 +34,7 @@
|
||||
#include "support/FileName.h"
|
||||
#include "support/gettext.h"
|
||||
#include "support/lassert.h"
|
||||
#include "support/lstrings.h"
|
||||
|
||||
#include <QCloseEvent>
|
||||
#include <QLineEdit>
|
||||
@ -291,10 +292,10 @@ docstring question_string(FindAndReplaceOptions const & opt)
|
||||
break;
|
||||
}
|
||||
docstring dir = opt.forward ? _("forward") : _("backwards");
|
||||
return cur_pos + _(" of ") + scope
|
||||
+ _(" reached while searching ") + dir + ".\n"
|
||||
+ "\n"
|
||||
+ _("Continue searching from ") + new_pos + " ?";
|
||||
|
||||
return bformat(_("%1$s of %2$s reached while searching %3$s.\n\n"
|
||||
"Continue searching from %4$s?"),
|
||||
cur_pos, scope, dir, new_pos);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user