mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Complete Jurgen's fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35905 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
40f06a50de
commit
6fa8ea97c4
@ -1884,9 +1884,11 @@ void GuiDocument::bibtexChanged(int n)
|
|||||||
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
// FIXME unicode
|
||||||
|
// both of these should take a vector<docstring>
|
||||||
|
|
||||||
// This is an insanely complicated attempt to make this sort of thing
|
// This is an insanely complicated attempt to make this sort of thing
|
||||||
// work with RTL languages.
|
// work with RTL languages.
|
||||||
//FIXME unicode (this should take a vector<docstring>)
|
|
||||||
docstring formatStrVec(vector<string> const & v, docstring const & s)
|
docstring formatStrVec(vector<string> const & v, docstring const & s)
|
||||||
{
|
{
|
||||||
//this mess formats the list as "v[0], v[1], ..., [s] v[n]"
|
//this mess formats the list as "v[0], v[1], ..., [s] v[n]"
|
||||||
@ -1921,7 +1923,8 @@ namespace {
|
|||||||
for (; it != end; ++it) {
|
for (; it != end; ++it) {
|
||||||
LyXModule const * const mod = theModuleList[*it];
|
LyXModule const * const mod = theModuleList[*it];
|
||||||
if (!mod)
|
if (!mod)
|
||||||
retval.push_back(to_utf8(bformat(_("%1$s (unavailable)"), from_utf8(*it))));
|
retval.push_back(to_utf8(bformat(_("%1$s (unavailable)"),
|
||||||
|
translateIfPossible(from_utf8(*it)))));
|
||||||
else
|
else
|
||||||
retval.push_back(mod->getName());
|
retval.push_back(mod->getName());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user