[FIX] translation export: added missing translation function `_lt` for javascript source files

bzr revid: odo@openerp.com-20121123164604-xhs2247xu4oh774q
This commit is contained in:
Olivier Dony 2012-11-23 17:46:04 +01:00
parent ff2a40e199
commit 28062933d0
1 changed files with 1 additions and 1 deletions

View File

@ -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'):