]> git.lyx.org Git - features.git/commit
Fix bug #7741: incorrect locale when starting R from LyX?
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Aug 2012 10:32:22 +0000 (12:32 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 22 Aug 2012 10:36:22 +0000 (12:36 +0200)
commita4db6d6c141292bff1fdf27fe85f178a315f509c
tree014fcef087beaa74d6e72844e62fae74d3e477ab
parent824fe175112559af42fc42da889a60dc7ee465d1
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.
14 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
status.20x