Message 50103 - Python tracker (original) (raw)
Here is a patch for the bug described in https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1448060&group_id=5470
It follows the latest Martin followup as I understand it. I'm not sure if multi-lines field handling should be totally discarded while reading metadata headers (as implemented), or if it should only be discarded for the content-type and plural-forms header. If one think this patch isn't correct, please comment so I can fix it.
Notice that if the second solution was intended, lines such as
"#-#-#-#-# fr.po #-#-#-#-#\n"
inserted by msgcat/msgmerge will have to be treated differently (i.e. multi-lines support but skip lines begining with a #).