Fixed xml dom problem in export translation.
bzr revid: hda@tinyerp.com-20091117124548-1g1jgzkr3co90ssh
This commit is contained in:
parent
b6577e3e5a
commit
3cb58ecdc3
|
@ -471,8 +471,8 @@ def trans_generate(lang, modules, dbname=None):
|
|||
# export arch
|
||||
arch = result['arch']
|
||||
if arch and not isinstance(arch, UpdateableStr):
|
||||
d = xml.dom.minidom.parseString(arch)
|
||||
for t in trans_parse_view(d.documentElement):
|
||||
d = etree.XML(arch)
|
||||
for t in trans_parse_view(d):
|
||||
push_translation(module, 'wizard_view', name, 0, t)
|
||||
|
||||
# export button labels
|
||||
|
|
Loading…
Reference in New Issue