Polib

Latest version: v1.2.0

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

Scan your dependencies

Page 4 of 5

0.5.5

--------------------------
- Removed multiline handling code, it was a mess and was the source of potential bugs like issue 11,
- Fixed typo in README and CHANGELOG, fixes issue 13.

0.5.4

--------------------------
- fixed an issue with detect_encoding(), in some cases it could return an invalid charset.

0.5.3

--------------------------
- correctly unescape lines containing both \\\\n and \\n (thanks to Martin Geisler),
- fixed issue 6: __str__() methods are returning unicode instead of str,
- fixed issue 8: POFile.merge error when an entry is obsolete in a .po, that this entry reappears in the .pot and that we merge the two,
- added support to instantiate POFile objects using data instead of file path (thanks to Diego Búrigo Zacarão),
- fixed issue 9: POFile.merge drop fuzzy attributes from translations (thanks to Tim Gerundt),
- fixed issue 10: Finding entries with the same msgid and different context (msgctxt).

0.5.2

--------------------------
- fixed issue 1: untranslated_entries() also show fuzzy message,
- write back the fuzzy header if present in the pofile,
- added support for previous msgctxt, previous msgid and previous msgid_plural comments (fixes issue 5),
- better handling of lines wrapping.

0.5.1

--------------------------
- fixed issue 0025: setup.py requires CHANGELOG but it's not present in polib-0.5.0-tar.gz

0.5.0

--------------------------
- fixed issue 0017: UnicodeDecodeError while writing a mo-file,
- fixed issue 0018: implemented support for msgctxt,
- fixed bug when compiling plural msgids/strs,
- API docs are no longer included, hopefully next release will ship with sphinx documentation,
- parse msg plural entries correctly when reading mo files,
- fixed issue 0020 and 0021: added ability to check for duplicate when adding entries to po/mo files, this is optional and not enabled by default because it slows down considerably the library,
- fixed issue 0022: unescaping code is insufficient,
- fixed issue 0023: encoding error when saving mo file as po file (thanks to sebastien.sable for the patch !).

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.