Georg Baum wrote:

> Are you sure? IIRC that was done on purpose. Had something to do with
> lyxserver/client, but I forgot the exact reason. 1.4 has the code
> 
> sendDispatchMessage(_(getMessage()), cmd);
> 
> in LyXFunc::dispatch(), in 1.5 this reads
> 
> sendDispatchMessage(getMessage(), cmd);
> 
> which explains the missing translation. Why was this changed?

See here: http://www.lyx.org/trac/changeset/15019

Looks like a half-baked solution. I'd say we should find out why we did
translate getMessage() and not the individual strings. If that reason is
still valid we should revert to the old code, and use

sendDispatchMessage(translateIfPossible(getMessage()), cmd);

if getMessage() can contain translated stuff.


Georg

Reply via email to