Comment 3 for bug 98416

Revision history for this message
Christophe Combelles (ccomb) wrote :

There is a way to fix this bug:

In zope.app/locales/extract.py,
replace "#. Default:" with "#. TRANSLATORS: Please translate the Default value, not the msgid!\n#. Default:"

However, I've found a few "#. Default" comments that should not appear in the po file :

Ex:

#. Default: ""
#: src/zope/app/component/browser/registration.py:117
msgid "comment: ${comment}"
msgstr "commentaire : ${comment}"

Here the Default is unuseful, and should not be replaced with the TRANSLATOR warning.
There is probably some checks to do in the extract.py file, related to default values.