From: Tommaso Cucinotta Date: Sun, 9 Dec 2012 20:20:05 +0000 (+0000) Subject: Fixing behavior of Lang directive in test cases, by setting LANGUAGE variable, in... X-Git-Tag: 2.1.0beta1~1133 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=aad1f4ce786db6937774f21d7b81ba40bf2028d8;p=features.git Fixing behavior of Lang directive in test cases, by setting LANGUAGE variable, in addition to LANG one. --- diff --git a/development/autotests/keytest.py b/development/autotests/keytest.py index 95e996b963..76492a3544 100755 --- a/development/autotests/keytest.py +++ b/development/autotests/keytest.py @@ -402,6 +402,10 @@ while not failed: ccode = lang[0:idx] else: ccode = lang + + print "Setting LANGUAGE=" + ccode + "\n" + os.environ['LANGUAGE'] = ccode + idx = lang.find("_") if idx != -1: short_code = lang[0:idx]