Logged In: YES
user_id=21627
Several things seem to be going on here:
1. gettext.py is clearly wrong; it shouldn't break on that file.
2. it is trying to process multi-line fields here. So the
patch is also wrong, as it just sets k and v to None.
3. I believe that the PO file presented is also wrong. I
believe the intention of the header is that it should have
the RFC822 style syntax, which doesn't allow for # comment
lines. The tool should use a syntax like
X-Filename: plo.po; package=PACKAGE; version=VERSION;
To summarize, I think the attempt to process multi-line
fields in the header is misguided, and gettext.py should
just fetch the first line of content-type and plural-forms. |