summaryrefslogtreecommitdiff
path: root/babel/messages/pofile.py
Commit message (Expand)AuthorAgeFilesLines
* fix doctests on Python 2.4: In 2.4 re.sub(..., ..., u'') will return '' (str,...Felix Schwarz2012-08-061-5/+5
* handle irregular multi-line msgstr (no "" as first line) gracefully (#171)Felix Schwarz2012-08-041-6/+7
* fix handling of messages containing '\\n' (#171)Felix Schwarz2012-08-031-5/+11
* small code cleanup in write_po()Felix Schwarz2012-08-031-4/+2
* add "--no-wrap" option for init/update commands (#289)Felix Schwarz2012-07-241-0/+2
* remove/simplify useless code linesFelix Schwarz2011-09-261-1/+1
* babel.messages.pofile should only apply encoding when actually writing a file...Felix Schwarz2011-03-191-3/+2
* catalog.add() now returns the message instance (closes #245)Felix Schwarz2011-03-191-0/+2
* cleanup: remove unused importsFelix Schwarz2011-03-051-3/+2
* Update the copyright line.Jeroen Ruigrok van der Werven2011-03-051-1/+1
* Cleanup round #1: get rid of the frozenset/set utility code and imports.Jeroen Ruigrok van der Werven2011-03-051-1/+1
* Make sure to only strip on the first occurence of ].Jeroen Ruigrok van der Werven2010-02-191-1/+1
* Fix for msgctxt parsing in PO files. Thanks to Asheesh Laroia for the patch. ...Christopher Lenz2009-03-171-0/+2
* Now, the `--width` option, although with a default value of 76, it's not set ...Pedro Algarvio2008-12-231-3/+6
* Include patch from Asheesh Laroia. Fixes #45.Pedro Algarvio2008-12-181-0/+6
* fix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decodePhilip Jenvey2008-10-081-6/+4
* We no longer neglect `catalog.plurals`. Added tests for it. Fixes #120.Pedro Algarvio2008-06-301-4/+15
* Fixed #59 by falling back silently on invalid location comments.Armin Ronacher2008-06-171-2/+7
* Fixed a bug in pofile (in_msgctxt was not defined). Test follows.Armin Ronacher2008-06-161-0/+1
* More preparation for msgctxt support (#54).Christopher Lenz2008-06-111-4/+15
* Add basic MO file reading in preparation for #54.Christopher Lenz2008-06-101-2/+2
* Fix for #79 (location lines wrapping at hyphens).Christopher Lenz2008-02-011-5/+4
* Fix for unicode problem when the previous message id is included as a comment...Christopher Lenz2008-01-141-2/+2
* add a __cmp__ to Message that correctly sorts by id, taking into account pluralsPhilip Jenvey2007-08-131-1/+1
* Remove duplicate locations of catalog messages.Christopher Lenz2007-07-241-1/+1
* Fix tests broken by [233], and add new tests.Christopher Lenz2007-07-201-10/+11
* Only write unique comments, no duplicates.Pedro Algarvio2007-07-201-4/+4
* Added infrastructure for adding catalog checkers, and implement a checker tha...Christopher Lenz2007-07-161-5/+8
* Minor changes to how previous msgids are processed.Christopher Lenz2007-07-031-6/+9
* Added `--no-fuzzy-matching` to the frontends and also `--previous` which adds...Pedro Algarvio2007-07-031-16/+24
* Handle obsolete messages when parsing catalogs. Closes #32.Christopher Lenz2007-07-031-34/+47
* Fix for #35, and a minor improvement to how we parse the catalog fuzzy bit.Christopher Lenz2007-07-031-14/+17
* Add an option to the frontend commands for catalog updating that removes comp...Christopher Lenz2007-07-011-6/+11
* Correctly write out obsolete messages spanning multiple lines. Fixes #33.Christopher Lenz2007-07-011-13/+20
* The frontends now provide ways to update existing translations catalogs from ...Christopher Lenz2007-06-281-21/+30
* Minor change to what symbols are “exported”, primarily for the generated ...Christopher Lenz2007-06-271-2/+1
* Changed the `__repr__` output to include the flags(it can be changed back, bu...Pedro Algarvio2007-06-261-1/+14
* Slightly simplified CLI-frontend class.Christopher Lenz2007-06-211-0/+1
* Minor cleanup in the `pofile` module.Christopher Lenz2007-06-211-50/+51
* Respect charset specified in PO headers in `read_po()`. Fixes #17.Christopher Lenz2007-06-201-6/+6
* More fixes for Windows compatibility:Christopher Lenz2007-06-191-1/+3
* Added tests for `new_catalog` distutils command.Christopher Lenz2007-06-151-5/+2
* Fixed a bug introduced in [106].Pedro Algarvio2007-06-141-2/+2
* Fix for #16: the header message (`msgid = ""`) is now treated specially by `r...Christopher Lenz2007-06-141-53/+83
* `Message`, `read_po` and `write_po` now all handle user/auto comments correctly.Pedro Algarvio2007-06-141-10/+20
* Merged `write_pot` and `write_po` functions by moving more functionality to t...Christopher Lenz2007-06-131-183/+53
* Implement wrapping of header comments in PO(T) output. Related to #14.Christopher Lenz2007-06-131-13/+24
* Project name and version, and the charset are available via the `Catalog` obj...Christopher Lenz2007-06-131-14/+7
* Renamed `LOCAL` to `LOCALTZ`.Christopher Lenz2007-06-121-2/+2
* Also use tzinfo for `write_po`.Pedro Algarvio2007-06-121-4/+5