Activity log for bug #1400878

Date Who What changed Old value New value Message
2014-12-09 21:01:46 Данило Шеган bug added bug
2014-12-09 21:01:46 Данило Шеган attachment added GlotPress-generated MO file https://bugs.launchpad.net/bugs/1400878/+attachment/4277226/+files/gp-mo.mo
2014-12-09 21:02:20 Данило Шеган attachment added Source PO file from GlotPress https://bugs.launchpad.net/php-gettext/+bug/1400878/+attachment/4277227/+files/gp-po.po
2014-12-09 21:09:29 Данило Шеган description Nemanja Avramović reports that MO files generated by GlotPress sometimes cause weird trailing characters in translated strings. In particular, he noticed it with the attached MO file when looking up a message like "Our Facebook". When tested with poEdit-generated MO file, everything worked fine. However, msgunfmt reads it correctly and generates a proper PO file that can then be converted to MO file (with eg. msgfmt) that's identical to the one generated from the source PO file directly. Since GlotPress-generated MO file is shorter than the one generated with msgfmt, I am suspecting that the optimized hash table is missing and that php-gettext is not handling that case well. Nemanja Avramović reports that MO files generated by GlotPress sometimes cause weird trailing characters in translated strings. In particular, he noticed it with the attached MO file when looking up a message like "Our Facebook" (see http://awesomescreenshot.com/07b4011v6c). When tested with poEdit-generated MO file, everything worked fine. However, msgunfmt reads it correctly and generates a proper PO file that can then be converted to MO file (with eg. msgfmt) that's identical to the one generated from the source PO file directly. Since GlotPress-generated MO file is shorter than the one generated with msgfmt, I am suspecting that the optimized hash table is missing and that php-gettext is not handling that case well.
2014-12-09 22:19:34 Nemanja Avramovic attachment added mo-files.zip https://bugs.launchpad.net/php-gettext/+bug/1400878/+attachment/4277241/+files/mo-files.zip