Commit 17e8e084 authored by Nicolas Delaby's avatar Nicolas Delaby

Support new default_language parameter


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42010 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58a72658
......@@ -96,12 +96,16 @@ def startFakeEnvironment(start_openoffice=True, conf_path=None):
waitStartDaemon(xvfb, 10)
if start_openoffice:
default_language = config.get('app:main',
'openoffice_user_interface_language',
'en')
openoffice.loadSettings(hostname,
openoffice_port,
working_path,
virtual_display_id,
office_binary_path,
uno_path)
uno_path,
default_language)
openoffice.start()
openoffice.acquire()
hostname, port = openoffice.getAddress()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment