Comment 0 for bug 1226576

Revision history for this message
Stefan Rijnhart (Opener) (stefan-opener) wrote : Missing code translations due to Babel API changes

I noticed some code translations missing in the .po and pot files.

It seems Babel on Pypi moved from 0.9.6 to 1.3 recently (Pypi mentions 2013-07-29).

The update includes this change:
https://github.com/mitsuhiko/babel/commit/a1bcb84f19b92f075fc46c113b987fcf9e894879

The API change causes the following error:

 openerp.tools.translate: Failed to extract terms from [path]/openobject-addons/hr_timesheet_sheet/hr_timesheet_sheet.py
Traceback (most recent call last):
  File "[path]/openobject-server/openerp/tools/translate.py", line 878, in babel_extract_terms
    keywords=extract_keywords):
ValueError: too many values to unpack

As a result the code translations are not updated.