projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a2408f
)
[FIX] Export & Synchronize Translations Corrected
author
Anup (OpenERP)
<ach@tinyerp.com>
Tue, 12 Oct 2010 12:09:08 +0000
(17:39 +0530)
committer
Anup (OpenERP)
<ach@tinyerp.com>
Tue, 12 Oct 2010 12:09:08 +0000
(17:39 +0530)
lp bug: https://launchpad.net/bugs/658993 fixed
bzr revid: ach@tinyerp.com-
20101012120908
-1u5n29r040drhhzs
bin/tools/translate.py
patch
|
blob
|
history
diff --git
a/bin/tools/translate.py
b/bin/tools/translate.py
index
b9ce95c
..
64c30af
100644
(file)
--- a/
bin/tools/translate.py
+++ b/
bin/tools/translate.py
@@
-605,7
+605,7
@@
def trans_generate(lang, modules, dbname=None):
if fname and obj.report_type in ('pdf', 'xsl'):
try:
d = etree.parse(tools.file_open(fname))
- for t in parse_func(d):
+ for t in parse_func(d.iter()):
push_translation(module, report_type, name, 0, t)
except (IOError, etree.XMLSyntaxError):
logging.getLogger("i18n").exception("couldn't export translation for report %s %s %s", name, report_type, fname)