mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
microptimisation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25389 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1b2b5726be
commit
1d109d8c6f
@ -111,9 +111,11 @@ docstring const Messages::get(string const & m) const
|
|||||||
|
|
||||||
// The string was not found, use gettext to generate it
|
// The string was not found, use gettext to generate it
|
||||||
|
|
||||||
string const oldLANGUAGE = getEnv("LANGUAGE");
|
static string oldLANGUAGE;
|
||||||
string const oldLC_ALL = getEnv("LC_ALL");
|
static string oldLC_ALL;
|
||||||
if (!lang_.empty()) {
|
if (!lang_.empty()) {
|
||||||
|
oldLANGUAGE = getEnv("LANGUAGE");
|
||||||
|
oldLC_ALL = getEnv("LC_ALL");
|
||||||
// This GNU extension overrides any language locale
|
// This GNU extension overrides any language locale
|
||||||
// wrt gettext.
|
// wrt gettext.
|
||||||
LYXERR(Debug::LOCALE, "Setting LANGUAGE to " << lang_);
|
LYXERR(Debug::LOCALE, "Setting LANGUAGE to " << lang_);
|
||||||
|
Loading…
Reference in New Issue
Block a user