log babel/messages/pofile.py @ 530:85e1beadacb0

age author description
Sat, 05 Mar 2011 15:22:28 +0000 jruigrok Update the copyright line.
Sat, 05 Mar 2011 14:59:20 +0000 jruigrok Cleanup round #1: get rid of the frozenset/set utility code and imports.
Fri, 04 Mar 2011 13:14:03 +0000 fschwarz Python 2.3 compatibility: backporting r456 and r457 to 0.9 branch (see #233) stable-0.9.x
Thu, 15 Apr 2010 14:20:11 +0000 jruigrok Commit the resulting files after a 2to3 -nvw run. experimental-babel3
Sun, 11 Apr 2010 08:40:17 +0000 jruigrok Merged revisions 465 via svnmerge from stable-0.9.x
Wed, 24 Feb 2010 12:59:35 +0000 jruigrok Backport r483. This fixes messages containing square brackets from failing stable-0.9.x
Fri, 19 Feb 2010 13:08:56 +0000 jruigrok Make sure to only strip on the first occurence of ].
Tue, 17 Mar 2009 22:26:03 +0000 cmlenz Fix for msgctxt parsing in PO files. Thanks to Asheesh Laroia for the patch. Closes #159.
Tue, 23 Dec 2008 01:03:40 +0000 palgarvio Now, the `--width` option, although with a default value of 76, it's not set to any value initially so that the `--no-wrap` option can be passed without throwing an error. Fixes #145.
Thu, 18 Dec 2008 00:19:47 +0000 palgarvio Include patch from Asheesh Laroia. Fixes #45.
Wed, 08 Oct 2008 22:42:55 +0000 pjenvey fix Python 2.3 compat: rearrange set/itemgetter/rsplit/sorted/unicode.decode
Tue, 08 Jul 2008 21:01:28 +0000 cmlenz Ported [407:415/trunk] back to 0.9.x branch. stable-0.9.x
Mon, 30 Jun 2008 12:23:28 +0000 palgarvio We no longer neglect `catalog.plurals`. Added tests for it. Fixes #120.
Fri, 27 Jun 2008 15:22:12 +0000 cmlenz Ported [388:405/trunk] to 0.9.x branch. stable-0.9.x
Tue, 17 Jun 2008 20:40:36 +0000 aronacher Fixed #59 by falling back silently on invalid location comments.
Mon, 16 Jun 2008 09:53:44 +0000 aronacher Fixed a bug in pofile (in_msgctxt was not defined). Test follows.
Wed, 11 Jun 2008 18:56:27 +0000 cmlenz More preparation for msgctxt support (#54).
Tue, 10 Jun 2008 17:05:52 +0000 cmlenz Add basic MO file reading in preparation for #54.
Fri, 01 Feb 2008 15:23:13 +0000 cmlenz Fix for #79 (location lines wrapping at hyphens).
Mon, 14 Jan 2008 12:47:45 +0000 cmlenz Fix for unicode problem when the previous message id is included as a comment in PO serialization. Closes #78.
Mon, 13 Aug 2007 00:59:09 +0000 pjenvey add a __cmp__ to Message that correctly sorts by id, taking into account plurals
Tue, 24 Jul 2007 21:16:57 +0000 cmlenz Remove duplicate locations of catalog messages.
Fri, 20 Jul 2007 16:20:43 +0000 cmlenz Fix tests broken by [233], and add new tests.
Fri, 20 Jul 2007 14:22:50 +0000 palgarvio Only write unique comments, no duplicates.
Mon, 16 Jul 2007 16:57:49 +0000 cmlenz Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
Tue, 03 Jul 2007 21:19:27 +0000 cmlenz Minor changes to how previous msgids are processed.
Tue, 03 Jul 2007 17:55:34 +0000 palgarvio Added `--no-fuzzy-matching` to the frontends and also `--previous` which adds the old msgid's as comments. The latest closes #31.
Tue, 03 Jul 2007 16:29:22 +0000 cmlenz Handle obsolete messages when parsing catalogs. Closes #32.
Tue, 03 Jul 2007 12:52:44 +0000 cmlenz Fix for #35, and a minor improvement to how we parse the catalog fuzzy bit.
Sun, 01 Jul 2007 17:59:44 +0000 cmlenz Add an option to the frontend commands for catalog updating that removes completely any obsolete messages, instead of putting them comments.
Sun, 01 Jul 2007 17:45:27 +0000 cmlenz Correctly write out obsolete messages spanning multiple lines. Fixes #33.
Thu, 28 Jun 2007 10:28:25 +0000 cmlenz The frontends now provide ways to update existing translations catalogs from a template. Closes #22.
Wed, 27 Jun 2007 14:38:20 +0000 cmlenz Minor change to what symbols are ?exported?, primarily for the generated docs.
Tue, 26 Jun 2007 16:46:56 +0000 palgarvio Changed the `__repr__` output to include the flags(it can be changed back, but it was usefull to implement the fuzzy header parsing).
Thu, 21 Jun 2007 16:12:38 +0000 cmlenz Slightly simplified CLI-frontend class.
Thu, 21 Jun 2007 12:10:59 +0000 cmlenz Minor cleanup in the `pofile` module.
Wed, 20 Jun 2007 20:31:24 +0000 cmlenz Respect charset specified in PO headers in `read_po()`. Fixes #17.
Tue, 19 Jun 2007 12:13:46 +0000 cmlenz More fixes for Windows compatibility:
Fri, 15 Jun 2007 22:18:59 +0000 cmlenz Added tests for `new_catalog` distutils command.
Thu, 14 Jun 2007 19:13:51 +0000 palgarvio Fixed a bug introduced in [106].
Thu, 14 Jun 2007 09:49:00 +0000 cmlenz Fix for #16: the header message (`msgid = ""`) is now treated specially by `read_po` and `Catalog`.
Thu, 14 Jun 2007 06:24:28 +0000 palgarvio `Message`, `read_po` and `write_po` now all handle user/auto comments correctly.
Wed, 13 Jun 2007 23:02:24 +0000 cmlenz Merged `write_pot` and `write_po` functions by moving more functionality to the `Catalog` class. This is certainly not perfect yet, but moves us in the right direction.
Wed, 13 Jun 2007 21:46:41 +0000 cmlenz Implement wrapping of header comments in PO(T) output. Related to #14.
Wed, 13 Jun 2007 20:50:34 +0000 cmlenz Project name and version, and the charset are available via the `Catalog` object, and do not need to be passed to `write_pot()`.
Tue, 12 Jun 2007 20:09:35 +0000 cmlenz Renamed `LOCAL` to `LOCALTZ`.
Tue, 12 Jun 2007 19:57:18 +0000 palgarvio Also use tzinfo for `write_po`.
Tue, 12 Jun 2007 05:20:34 +0000 palgarvio Updated `read_po` to add user comments besides just auto comments.
Sun, 10 Jun 2007 18:03:46 +0000 cmlenz Some cosmetic changes for the new translator comments support.
Sun, 10 Jun 2007 14:21:01 +0000 palgarvio Added support for translator comments at the API and frontends levels.(See #12, item 1). Updated docs and tests accordingly.
Sun, 10 Jun 2007 09:39:26 +0000 palgarvio Implemented item 4 from #12. Set the copyright holder in the output.
Sun, 10 Jun 2007 08:42:21 +0000 palgarvio Fixed the plurals header on `Catalog` which should only be written if it's not a catalog template.
Fri, 08 Jun 2007 17:30:12 +0000 palgarvio Implemented message sorting, see #7.
Fri, 08 Jun 2007 15:47:00 +0000 cmlenz Add back POT header broken in previous check-in.
Fri, 08 Jun 2007 15:32:06 +0000 cmlenz Enhance catalog to also manage the MIME headers.
Fri, 08 Jun 2007 13:15:32 +0000 cmlenz `read_po` now returns a `Catalog`.
Fri, 08 Jun 2007 11:08:03 +0000 cmlenz Add actual data structures for handling message catalogs, so that more code can be reused here between the frontends.
Fri, 08 Jun 2007 10:37:47 +0000 palgarvio `new_catalog` now accepts another argument, `--domain`, which is used to build the output file path, which now is of the form `<output_dir>/<locale>/<domain>.po`, the correct form.
Fri, 08 Jun 2007 09:16:32 +0000 cmlenz Rename the `babel.catalog` package to `babel.messages` for consistency with the other package names. base babel/catalog/pofile.py@908e6c345cd7
Copyright (C) 2012-2017 Edgewall Software