This commit is mostly about removing bad code, and it fixes a locale bug
when spawning external programs. I'd like to backport this to branch.
I am confident that it works well in linux, but could some macos/windows
users confirm that they still can change UI language through preferences?
JMarc
Le 15/07/2012 22:30, Jean-Marc Lasgouttes a écrit :
The branch, master, has been updated.
- Log -----------------------------------------------------------------
commit 16fd47ad8f5d78a3b7266520b0868c1e2bd0dcac
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date: Sun Jul 15 22:22:10 2012 +0200
Fix bug #7741: incorrect locale when starting R from LyX?
The goal here is to get rid of the old code that modified variables
LANGUAGE and LC_ALL, therefore creating the problems mentionned
in the ticket.
In the new system, there is no explicit "GUI" message handler, that
needs to be reset at each language change. Instead, getGuiMessages
calls getMessages with the correct parameter. This allows to simplify
greatly the code and to remove a lot of old cruft.