]> git.lyx.org Git - features.git/commit
Fix bug #7741: incorrect locale when starting R from LyX?
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 15 Jul 2012 20:22:10 +0000 (22:22 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 15 Jul 2012 20:22:10 +0000 (22:22 +0200)
commit16fd47ad8f5d78a3b7266520b0868c1e2bd0dcac
tree390be486a39862daa3fe755de021911c3d8ca5bc
parentf6b1c24b990751598bad532d4595090a2dec9061
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.
13 files changed:
src/LyX.cpp
src/LyX.h
src/client/Makefile.am
src/client/Messages.cpp [deleted file]
src/client/Messages.h [deleted file]
src/client/client.cpp
src/client/gettext.cpp [deleted file]
src/frontends/qt4/GuiApplication.cpp
src/support/Messages.cpp
src/support/Messages.h
src/support/filetools.cpp
src/support/lstrings.cpp
src/support/lstrings.h