mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +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/FileName.h"
|
||||||
#include "support/gettext.h"
|
#include "support/gettext.h"
|
||||||
#include "support/lassert.h"
|
#include "support/lassert.h"
|
||||||
|
#include "support/lstrings.h"
|
||||||
|
|
||||||
#include <QCloseEvent>
|
#include <QCloseEvent>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
@ -291,10 +292,10 @@ docstring question_string(FindAndReplaceOptions const & opt)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
docstring dir = opt.forward ? _("forward") : _("backwards");
|
docstring dir = opt.forward ? _("forward") : _("backwards");
|
||||||
return cur_pos + _(" of ") + scope
|
|
||||||
+ _(" reached while searching ") + dir + ".\n"
|
return bformat(_("%1$s of %2$s reached while searching %3$s.\n\n"
|
||||||
+ "\n"
|
"Continue searching from %4$s?"),
|
||||||
+ _("Continue searching from ") + new_pos + " ?";
|
cur_pos, scope, dir, new_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user