Polib

Latest version: v1.2.0

Safety actively analyzes 627484 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 5

0.4.2

--------------------------
- fixed issue 0007: use the codecs module to open files,
- fixed issue 0014: plural forms are not saved correctly in the mo file (thanks lorenzo.gil.sanchez for the patch),
- fixed issue 0015: no LICENSE file included in tarball,
- removed Version/Date from README,
- added test pot files to MANIFEST.in,
- performance improvement in find() method (thanks Thomas !).

0.4.1

--------------------------
- fixed issue 0006: plural msgstrs were saved unsorted,
- fixed issue 0008: long comment lines broke 'save()' method,
- removed performance shortcuts: they were in fact inefficient, I was mislead by the python profile module, kudos to Thomas for making me realise that,
- fixed issue 0010: wrong polib version number,
- fixed issue 0011: occurrences parsing is now more robust and can handle weird references formats (like in eToys OLPC po files),
- fixed issue 0012: improved merge() method.

0.4.0

--------------------------
- fixed bug 0005: percent_translated divide by 0 on empty po files,
- fixed bug 0004: occurrences that have hyphens are wrapped when they should not,
- changes in how encoding is handled,
- remove deprecation warnings for typo on "occurrences",
- added POEntry.__cmp__() method to sort entries like gettext does,
- fixed POEntry.transalated(),
- added a merge() method to POFile class, that behaves like the gettext msgmerge utility,
- obsolete entries are now written at the end of the file and with only msgid/msgstr like gettext does,
- fixed some bugs in mo files parsing,
- renamed quote/unquote functions to escape/unescape,
- various cosmetic changes.

0.3.1

--------------------------
- fixed bug 0002: typo on "occurrences",
- fixed bug 0003: mismatch in exception instance names,
- removed deprecation warnings,
- removed unused charset() method in POFile/MOFile objects,
- fixed bug in multibytes string length (added regression tests),
- fixed a bug in detect_encoding(),
- added a find() method to _BaseFile class,
- proper handling of quoting and unquoting,
- proper handling of multiline strings in metadata

0.3.0

--------------------------
- speed improvements,
- polib can now compile mo files,
- unicode support,
- fixed bug 0001: global name 'sorted' is not defined" on python 2.3.

0.1.0

--------------------------
Initial release

Page 5 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.