odoo/addons/report_webkit
Olivier Dony c5845be244 [FIX] report_webkit: translations lookup should ignore report name for webkit reports
Webkit/Mako translations are quite different from RML
report translations, and very similar to translations
for Python code terms, i.e. with _(). The method to
lookup the translations at rendering time should thus
be similar to what _() does for Python code terms, and
not depend on the name of the report, which is not
known when exporting the translation template, and is
therefore not available in POT meta-data.
This bears no performance penalty, as we are still
only looking inside 'report'-typed translations with
the matching 'source term'.
The only downside is that this prevents per-report
translations, but this is not supported by our
translation import/export system anyway, so it 
does not matter (msgid strings must be unique
within a PO file, and we don't support context-
sensitive PO files yet).

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

bzr revid: odo@openerp.com-20120119102145-tp3w80bhjwq11q84
2012-01-19 11:21:45 +01:00
..
i18n Launchpad automatic translations update. 2012-01-14 05:13:10 +00:00
security [IMP] Security Rule: removed duplicates due to inheritancies of groups 2011-12-12 19:11:13 +01:00
wizard [MERGE] Missing modelines, requested and provided by Lionel Sausin (Numerigraphe) 2011-11-24 16:50:58 +01:00
__init__.py [MERGE] Missing modelines, requested and provided by Lionel Sausin (Numerigraphe) 2011-11-24 16:50:58 +01:00
__openerp__.py [IMP] better manifests for modules 2011-12-12 15:22:44 +01:00
company.py [IMP] Added missing vim mode lines 2011-11-22 09:51:38 +01:00
company_view.xml [FIX] report_webkit: review and another series of fixes for certification of webkit report engine - see https://code.launchpad.net/~c2c/openobject-addons/trunk_webkit_addons/+merge/37829 2010-10-08 16:30:50 +02:00
data.xml [FIX] report_webkit: fixed UTF-8 encoding in debug mode too 2011-04-30 03:56:46 +02:00
default_header.html [ADD] default header.html 2011-09-21 10:16:11 +02:00
header.py [IMP] Added missing vim mode lines 2011-11-22 09:51:38 +01:00
header_view.xml [IMP] report_webkit: usability/views improvements 2011-10-27 16:45:30 +02:00
ir_report.py [IMP] Added missing vim mode lines 2011-11-22 09:51:38 +01:00
ir_report_view.xml [IMP] support precise mode + get ride of notify channel + small refactoring 2011-09-21 09:49:42 +02:00
report_helper.py [MERGE] Missing modelines, requested and provided by Lionel Sausin (Numerigraphe) 2011-11-24 16:50:58 +01:00
webkit_report.py [FIX] report_webkit: translations lookup should ignore report name for webkit reports 2012-01-19 11:21:45 +01:00