I getStatus we set the error messages using N_(), so that we can transmit the English version to the lyxserver. However, we do not do the translation before displaying in the minibuffer...
The following pair of patches fixes that. OK? JMarc
Index: src/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.1021.2.76 diff -u -p -r1.1021.2.76 ChangeLog --- src/ChangeLog 29 Mar 2005 14:17:57 -0000 1.1021.2.76 +++ src/ChangeLog 30 Mar 2005 14:22:09 -0000 @@ -1,3 +1,8 @@ +2005-03-30 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> + + * lyxfunc.C (dispatch): translate message before sending it to the + minibuffer. + 2005-03-29 Angus Leeming <[EMAIL PROTECTED]> * lyx_main.C (c-tor): call os::internal_path on each file passed Index: src/lyxfunc.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v retrieving revision 1.394.2.9 diff -u -p -r1.394.2.9 lyxfunc.C --- src/lyxfunc.C 24 Feb 2005 11:47:33 -0000 1.394.2.9 +++ src/lyxfunc.C 30 Mar 2005 14:22:09 -0000 @@ -1539,7 +1539,7 @@ void LyXFunc::dispatch(FuncRequest const } // end of switch exit_with_message: - sendDispatchMessage(getMessage(), ev, verbose); + sendDispatchMessage(_(getMessage()), ev, verbose); }
Index: src/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v retrieving revision 1.2145 diff -u -p -r1.2145 ChangeLog --- src/ChangeLog 29 Mar 2005 14:47:53 -0000 1.2145 +++ src/ChangeLog 31 Mar 2005 13:19:53 -0000 @@ -1,3 +1,8 @@ +2005-03-30 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> + + * lyxfunc.C (dispatch): translate message before sending it to the + minibuffer. + 2005-03-29 Angus Leeming <[EMAIL PROTECTED]> * lyx_main.C (priv_exec): call os::internal_path on each file passed Index: src/lyxfunc.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyxfunc.C,v retrieving revision 1.649 diff -u -p -r1.649 lyxfunc.C --- src/lyxfunc.C 7 Mar 2005 11:03:44 -0000 1.649 +++ src/lyxfunc.C 31 Mar 2005 13:19:53 -0000 @@ -1495,7 +1495,7 @@ void LyXFunc::dispatch(FuncRequest const view()->owner()->updateLayoutChoice(); } } - sendDispatchMessage(getMessage(), cmd); + sendDispatchMessage(_(getMessage()), cmd); }