[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:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user