mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +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
25ef8e7eef
commit
aad1f4ce78
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user