mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +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]
|
ccode = lang[0:idx]
|
||||||
else:
|
else:
|
||||||
ccode = lang
|
ccode = lang
|
||||||
|
|
||||||
|
print "Setting LANGUAGE=" + ccode + "\n"
|
||||||
|
os.environ['LANGUAGE'] = ccode
|
||||||
|
|
||||||
idx = lang.find("_")
|
idx = lang.find("_")
|
||||||
if idx != -1:
|
if idx != -1:
|
||||||
short_code = lang[0:idx]
|
short_code = lang[0:idx]
|
||||||
|
Loading…
Reference in New Issue
Block a user