* 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:
Jürgen Spitzmüller 2010-01-22 17:57:16 +00:00
parent f9b53405a0
commit 407b359809

View File

@ -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);
}