Niels Huylebroeck has proposed merging
lp:~openerp-community/openobject-server/fix-1096138-babel-extract-method-mako
into lp:openobject-server/7.0.
Requested reviews:
OpenERP Core Team (openerp)
Related bugs:
Bug #1096138 in OpenERP Server: "Generated PO(T) file does not contain all
terms for mako files"
https://bugs.launchpad.net/openobject-server/+bug/1096138
For more details, see:
https://code.launchpad.net/~openerp-community/openobject-server/fix-1096138-babel-extract-method-mako/+merge/142114
Proposed solution for better translateable string detection for Mako templates.
This commit was purposfully as close to the last change on the translation
tools, this way it should be easier to integrate in several branches. (For more
info http://wiki.monotone.ca/DaggyFixes/ )
--
https://code.launchpad.net/~openerp-community/openobject-server/fix-1096138-babel-extract-method-mako/+merge/142114
Your team OpenERP Community is subscribed to branch
lp:~openerp-community/openobject-server/fix-1096138-babel-extract-method-mako.
=== modified file 'openerp/tools/translate.py'
--- openerp/tools/translate.py 2012-12-14 12:43:10 +0000
+++ openerp/tools/translate.py 2013-01-07 13:44:31 +0000
@@ -887,7 +887,7 @@
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'):
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp