>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Jean-Marc Lasgouttes wrote: >> No, we do use N_() here, because we want to pass the message in >> english to the lyxserver. Translation is done later, except that we >> do not do it currently :) I'll send a patch later. Georg> ?? Last time I asked the same question Lars answered that these Georg> strings are part of the protocol and don't get translated at Georg> all. What do I misunderstand? They get translated just before going to the minibuffer, as in the following patch. The lyxserver still sees the untranslated message. JMarc
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 12:42:24 -0000 @@ -1539,7 +1539,7 @@ void LyXFunc::dispatch(FuncRequest const } // end of switch exit_with_message: - sendDispatchMessage(getMessage(), ev, verbose); + sendDispatchMessage(_(getMessage()), ev, verbose); }