Poedit pro patch

broken image
broken image

* parse.py: Python script to parse messages.moĪfter some research I found a few comments around comments being marked as starting by #-#-#-#-# and ending with #-#-#-#-#, not just starting with #.

broken image

* messages.mo: comments.po compiled with msgfmt * comments.po: PO file with a comment in headers The question is more if the fix is correct or not. I can easily convert the patch to a PR, maybe with a test. I made my test on Fedora 29: msgfmt 0.19.8.1, Python 3.7.2.įedora has a patch since 2007 to ignore comments: I'm not sure that keeping the comment as part of plural forms is correct. Parse the output file messages.mo using test.py script: 'Plural-Forms: nplurals=2 plural=(n != 1) \n' 'Content-Type: text/plain charset=UTF-8\n' po file contains a comment in headers, it's kept when compiled as. Gettext: GNUTranslations doesn't parse properly comments in descriptionĬreated on 13:58 by vstinner, last changed 14:59 by admin.

broken image