mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Fixing behavior of Lang directive in test cases, by setting LANGUAGE variable, in addition to LANG one.
This commit is contained in:
parent
927496ecd0
commit
35a7f81654
@ -401,6 +401,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]
|
||||
|
Loading…
Reference in New Issue
Block a user