]> git.lyx.org Git - features.git/commitdiff
make sure getStatus errors are actually translated in the minibuffer
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Apr 2005 12:27:04 +0000 (12:27 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 5 Apr 2005 12:27:04 +0000 (12:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9781 a592a061-630c-0410-9148-cb99ea01b6c8

src/ChangeLog
src/lyxfunc.C

index 9a6a4bb19b902909ea4deba3908443e7bea063f0..d8d82c72c2602f09922e1063af5c216528b99985 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (dispatch): translate message before sending it to the
+       minibuffer. 
+
 2005-03-29  Angus Leeming  <leeming@lyx.org>
 
        * lyx_main.C (priv_exec): call os::internal_path on each file passed
index cae053cfa5a2300fe9f136f21e1582597f27a167..e7168c851118be0703e1bd15446000720f832943 100644 (file)
@@ -1495,7 +1495,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
                        view()->owner()->updateLayoutChoice();
                }
        }
-       sendDispatchMessage(getMessage(), cmd);
+       sendDispatchMessage(_(getMessage()), cmd);
 }