From 6fa8ea97c44539cce7d914798bd785b62a3967cf Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 29 Oct 2010 13:06:52 +0000 Subject: [PATCH] Complete Jurgen's fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35905 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDocument.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 403ac3ae25..5c2f6b4e68 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -1884,9 +1884,11 @@ void GuiDocument::bibtexChanged(int n) namespace { + // FIXME unicode + // both of these should take a vector + // This is an insanely complicated attempt to make this sort of thing // work with RTL languages. - //FIXME unicode (this should take a vector) docstring formatStrVec(vector const & v, docstring const & s) { //this mess formats the list as "v[0], v[1], ..., [s] v[n]" @@ -1921,7 +1923,8 @@ namespace { for (; it != end; ++it) { LyXModule const * const mod = theModuleList[*it]; 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 retval.push_back(mod->getName()); } -- 2.39.2