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:
ff2a40e
)
[FIX] translation export: added missing translation function `_lt` for javascript...
author
Olivier Dony
<odo@openerp.com>
Fri, 23 Nov 2012 16:46:04 +0000
(17:46 +0100)
committer
Olivier Dony
<odo@openerp.com>
Fri, 23 Nov 2012 16:46:04 +0000
(17:46 +0100)
bzr revid: odo@openerp.com-
20121123164604
-xhs2247xu4oh774q
openerp/tools/translate.py
patch
|
blob
|
history
diff --git
a/openerp/tools/translate.py
b/openerp/tools/translate.py
index
e747682
..
f388f06
100644
(file)
--- a/
openerp/tools/translate.py
+++ b/
openerp/tools/translate.py
@@
-856,7
+856,7
@@
def trans_generate(lang, modules, cr):
for fname in fnmatch.filter(files, '*.js'):
babel_extract_terms(fname, path, root, 'javascript',
extra_comments=[WEB_TRANSLATION_COMMENT],
- extract_keywords={'_t': None})
+ extract_keywords={'_t': None, '_lt': None})
# QWeb template files
if fnmatch.fnmatch(root, '*/static/src/xml*'):
for fname in fnmatch.filter(files, '*.xml'):