it seems that queryUserLyXDir needs to have access to the translation...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16674 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-01-14 11:31:30 +00:00
parent 197ca2420b
commit f2c60a584a

View File

@ -800,6 +800,9 @@ bool LyX::init()
if (!readRcFile("lyxrc.dist"))
return false;
// Set the User Interface language.
pimpl_->messages_["GUI"] = Messages();
// Set the PATH correctly.
#if !defined (USE_POSIX_PACKAGING)
// Add the directory containing the LyX executable to the path
@ -850,9 +853,6 @@ bool LyX::init()
return false;
if (use_gui) {
// Set the User Interface language.
pimpl_->messages_["GUI"] = Messages();
// Set up bindings
pimpl_->toplevel_keymap_.reset(new kb_keymap);
defaultKeyBindings(pimpl_->toplevel_keymap_.get());