A library to manipulate gettext files
http://bitbucket.org/izi/polib/
polib allows you to manipulate, create, modify gettext catalogs (.pot, .po and
binary .mo files). You can load existing files, iterate through it's entries,
add, modify entries, comments or metadata, etc... or create new po/pot files
from scratch.
polib provides a simple and pythonic API, exporting only two convenience
functions 'pofile' and 'mofile', and the 4 core classes: POFile, MOFile,
POEntry and MOEntry for creating new files/entries.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:seife:Factory/python-polib && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
polib-1.1.0.tar.gz | 0000158484 155 KB | |
python-polib.changes | 0000007103 6.94 KB | |
python-polib.spec | 0000002922 2.85 KB |
Revision 21 (latest revision is 27)
Dominique Leuenberger (dimstar_suse)
accepted
request 569563
from
Tomáš Chvátal (scarabeus_iv)
(revision 21)
- Version update to 1.1.0: - Fixed entries sorting when generating mo file (Fixes #78) - Fixed find method (Fixes #84) - Refactored POEntry.__cmp__ method (this should fix issues #60, #65 and #79) - Fixed duplicated entries when merging po file with pot file (fixes #68) - Fixed "None" string being outputted when polib deals with syntax error in string (Fixes issue #66) - Added a fuzzy property to entries (Fixes #76) - Take into account the message context when comparing entries - Leave occurence untouched if line number is not a number (fixes #80 and #90) - Fixed test for mo files that was failing because since gettext version 0.19.8.1, msgfmt skips the "POT-Creation-Date" metadata entry (Fixes #86) - Fixed major revision number comparison - Dropped python 2.4 support - Drop merged patch 2a4caf09e210554018bf0e928690d9617ff89e00.diff
Comments 0