[FIX] When extracting strings from mako reports we specify a correcter method for string extraction.

lp bug: https://launchpad.net/bugs/1096138 fixed

bzr revid: nh@agaplan.eu-20130104171631-p72mjfkfsvm2tdr8
This commit is contained in:
Niels Huylebroeck
2013-01-04 18:16:31 +01:00
parent aa6672b2af
commit 9db9138056
+1 -1
View File
@@ -850,7 +850,7 @@ def trans_generate(lang, modules, cr):
for fname in fnmatch.filter(files, '*.py'):
babel_extract_terms(fname, path, root)
for fname in fnmatch.filter(files, '*.mako'):
babel_extract_terms(fname, path, root, trans_type='report')
babel_extract_terms(fname, path, root, 'mako', trans_type='report')
# Javascript source files in the static/src/js directory, rest is ignored (libs)
if fnmatch.fnmatch(root, '*/static/src/js*'):
for fname in fnmatch.filter(files, '*.js'):