Red Hat Bugzilla – Bug 54861
pot file header generated by pygettext is incorrect
Last modified: 2007-04-18 12:37:41 EDT
The pygettext.py script generates incorrect pot file headers.
First of all, it does not add a POT-Creation-Date (which is very much
needed to determine how "fresh" a pot file is).
Second, the PO-Revision-Date is of the wrong format (it should be as in the
output of `date +"%Y-%m-%d %H:%M%z"').
The pygettext in python 2.2 is slightly different - I'll need to check if the
problem is still around.
This faulty pot file header problem seems to still be around (see the current
pot file for redhat-logviewer).
Patching pygettext is not exactly difficult, it would be nice if the upstream
python maintainers would accept the patch as well.
Seems to be fixed in python 2.3.4"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n"