]> git.lyx.org Git - features.git/commitdiff
it seems that queryUserLyXDir needs to have access to the translation...
authorAbdelrazak Younes <younes@lyx.org>
Sun, 14 Jan 2007 11:31:30 +0000 (11:31 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 14 Jan 2007 11:31:30 +0000 (11:31 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16674 a592a061-630c-0410-9148-cb99ea01b6c8

src/lyx_main.C

index edbbbcf51112ee788e20991e799e481d6c0f9a21..c0fbb68ab6c37ef9522d8e17da91edf439cf1b21 100644 (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());