log babel/messages/catalog.py @ 545:afdab04b8527

age author description
Sat, 19 Mar 2011 19:34:40 +0000 fschwarz Catalog class should not do decoding of input strings (fixes #256)
Sat, 19 Mar 2011 19:28:59 +0000 fschwarz catalog.add() now returns the message instance (closes #245)
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:48:25 +0000 jruigrok Merged revisions 469,529 via svnmerge from stable-0.9.x
Sun, 11 Apr 2010 08:43:36 +0000 jruigrok Fix typos.
Sun, 11 Apr 2010 08:32:32 +0000 jruigrok Merged revisions 464 via svnmerge from stable-0.9.x
Sun, 11 Apr 2010 08:20:56 +0000 jruigrok Merged revisions 460-461 via svnmerge from stable-0.9.x
Tue, 06 Apr 2010 09:05:06 +0000 jruigrok Merged revisions 467 via svnmerge from stable-0.9.x
Mon, 16 Mar 2009 17:49:48 +0000 jruigrok Fix Catalog._set_mime_headers' handing of negative offsets.
Sat, 10 Jan 2009 22:42:01 +0000 palgarvio Fuzzy matching regarding plurals should *NOT* be checked against `len(message.id)` because this is always 2, instead, it's should be checked against `catalog.num_plurals`.
Thu, 18 Dec 2008 01:36:14 +0000 palgarvio Final and complete fix for #148.
Mon, 15 Dec 2008 23:47:54 +0000 palgarvio Make the `POT-Creation-Date` of the catalog being updated equal to `POT-Creation-Date` of the template used to update. Fixes #148.
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
Tue, 01 Jul 2008 09:16:30 +0000 aronacher Added babel.messages.plurals.get_plural which returns a special tuple with the plural information.
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 21:55:14 +0000 aronacher Message.clone doesn't return a shallow copy any longer. This fixes a bug with update where flags where shared.
Tue, 17 Jun 2008 20:30:02 +0000 aronacher Refactored the checker system. It's now possible to partially validate translations on a per-message level.
Tue, 17 Jun 2008 20:07:08 +0000 aronacher Moved PYTHON_FORMAT back to catalog.
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.
Copyright (C) 2012-2017 Edgewall Software