log babel/messages/catalog.py @ 352:20d10066a42a

age author description
Tue, 17 Jun 2008 19:54:34 +0000 aronacher The builtin checkers don't require setuptools any longer, validate_format and python_format from the checkers module are merged into one now.
Tue, 17 Jun 2008 19:32:09 +0000 aronacher Added `validate_format helper function to `babel.support`.
Mon, 16 Jun 2008 16:49:56 +0000 cmlenz More work on msgctxt support (#54).
Mon, 16 Jun 2008 12:48:43 +0000 cmlenz Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk]. stable-0.9.x
Wed, 11 Jun 2008 22:12:09 +0000 cmlenz Fix iterkeys/iteritems/itervalues/pop/popitem methods on the `odict` utility class. Thanks to Armin Ronacher for the patch.
Wed, 11 Jun 2008 18:56:27 +0000 cmlenz More preparation for msgctxt support (#54).
Tue, 10 Jun 2008 16:57:15 +0000 cmlenz Change Catalog class to retain the plural forms set in the MIME headers.
Fri, 01 Feb 2008 14:56:02 +0000 cmlenz Ported [346] and [347] to 0.9.x branch. stable-0.9.x
Fri, 01 Feb 2008 14:46:32 +0000 cmlenz Merging catalogs would sometimes mix translations from different runs.
Fri, 01 Feb 2008 13:38:09 +0000 cmlenz Fix catalog updating with fuzzy matches. Closes #82.
Fri, 28 Sep 2007 05:16:25 +0000 pjenvey fix catalogs' charset values not being recognized
Tue, 04 Sep 2007 15:09:54 +0000 cmlenz Fix for updating catalog messages that changed from gettext to ngettext or vice versa.
Mon, 13 Aug 2007 22:29:03 +0000 cmlenz Soften dependency on setuptools. Extraction methods can now be referenced using a special section in the mapping configuration, mapping short names to fully-qualified function references.
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:47:08 +0000 cmlenz Follow-up to [239]: also combine duplicate comments when writing PO files.
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.
Fri, 20 Jul 2007 12:52:40 +0000 cmlenz Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
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.
Thu, 05 Jul 2007 17:25:13 +0000 cmlenz When parsing catalog headers, look for the content-type first, to be able to use a specified encoding on all other headers.
Wed, 04 Jul 2007 12:25:28 +0000 cmlenz Preserve language-team header in catalogs on update. Closes #35 again.
Tue, 03 Jul 2007 21:19:27 +0000 cmlenz Minor changes to how previous msgids are processed.
Tue, 03 Jul 2007 19:20:28 +0000 palgarvio Doctest for changes on [205].
Tue, 03 Jul 2007 18:00:42 +0000 palgarvio Minor typo correction.
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:01:41 +0000 cmlenz Correctly handle non-ASCII chars in the catalog MIME headers.
Tue, 03 Jul 2007 12:52:44 +0000 cmlenz Fix for #35, and a minor improvement to how we parse the catalog fuzzy bit.
Fri, 29 Jun 2007 13:47:10 +0000 cmlenz Fix adding new messages in catalog update.
Thu, 28 Jun 2007 10:28:25 +0000 cmlenz The frontends now provide ways to update existing translations catalogs from a template. Closes #22.
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).
Fri, 22 Jun 2007 08:39:04 +0000 cmlenz Implement fuzzy matching to catalog updates. No frontend yet.
Fri, 22 Jun 2007 00:33:22 +0000 cmlenz Added preliminary catalog updating/merging functionality.
Wed, 20 Jun 2007 20:31:24 +0000 cmlenz Respect charset specified in PO headers in `read_po()`. Fixes #17.
Mon, 18 Jun 2007 18:24:44 +0000 cmlenz Use `dates.format_datetime` for dates in PO(T) header, as `datetime.strftime` produces wrong results on windows.
Fri, 15 Jun 2007 22:58:46 +0000 cmlenz Fix parsing of timezone in POT creation date.
Fri, 15 Jun 2007 22:18:59 +0000 cmlenz Added tests for `new_catalog` distutils command.
Thu, 14 Jun 2007 10:05:47 +0000 cmlenz Minor doc improvements.
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.
Tue, 12 Jun 2007 20:09:35 +0000 cmlenz Renamed `LOCAL` to `LOCALTZ`.
Tue, 12 Jun 2007 18:40:39 +0000 cmlenz Fix for #11 (use local timezone in timestamps of generated POT).
Mon, 11 Jun 2007 00:48:07 +0000 palgarvio Fixed a bug on Catalog. `__setitem__` was not updating the translator comments. Thanks pjenvey!
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 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 16:22:10 +0000 cmlenz Fix for mixed singular/plural messages, follow-up to [70].
Fri, 08 Jun 2007 16:16:08 +0000 cmlenz Message catalogs can have multiple messages with the same ID, where some of them have plural strings, and others don't. Still the same message.
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:54:01 +0000 cmlenz Move `Translations` and `LazyProxy` to new `babel.support` module, which should contain any convenience code that is useful for applications using Babel/I18n, but not used by Babel itself.
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.
Copyright (C) 2012-2017 Edgewall Software