log genshi/filters/i18n.py @ 888:18dee397f8e1

age author description
Mon, 19 Apr 2010 11:45:40 +0000 cmlenz More i18n doc improvements.
Fri, 16 Apr 2010 12:48:05 +0000 cmlenz Fix regression in [1099]: templates must not have an implicit loader during message extraction.
Tue, 23 Feb 2010 18:58:47 +0000 palgarvio Any `py:strip` involved on `i18n:singular` or `i18n:plural` is now handled separately, ie, if one has `py:strip` on a `i18n:singular` element or directive and the plural form is the one chosen, no stripping will be performed. Refs #371.
Tue, 23 Feb 2010 16:26:54 +0000 palgarvio Typo correction.
Tue, 23 Feb 2010 16:03:26 +0000 palgarvio Allow the use of `i18n:singular` and `i18n:plural` as directives and not just as attributes.
Sat, 28 Nov 2009 15:42:49 +0000 cmlenz Apply patch for I18n message extraction bug as reported in #358. Thanks to cboos for the patch, again.
Thu, 12 Nov 2009 11:36:14 +0000 cmlenz Add a couple of fallback imports for Python 3.0.
Tue, 10 Nov 2009 22:53:21 +0000 cmlenz More work on reducing the size of the diff produced by 2to3.
Tue, 10 Nov 2009 21:22:51 +0000 cmlenz Convert a bunch of print statements to py3k compatible syntax.
Tue, 10 Nov 2009 20:57:32 +0000 cmlenz Update copyright years on files changed due to advanced-i18n merge.
Tue, 10 Nov 2009 20:54:06 +0000 cmlenz Merged advanced-i18n branch back into trunk.
Wed, 11 Mar 2009 17:51:06 +0000 cmlenz Sync (old) experimental inline branch with trunk@1027. experimental-inline
Tue, 16 Dec 2008 23:02:36 +0000 cmlenz Merged AST branch back into trunk. Most of this code was written by Marcin Kurczych for his Google Summer of Code 2008 project. The merge of this branch means that Genshi now uses the native `_ast` module on Python >= 2.5, and an emulation thereof on Python 2.4. This replaces the usage of the `compiler` package, which was deprecated in Python 2.6 and removed in Python 3.0. Another effect is that Genshi now runs on Google AppEngine (although performance is bad due to the lack of template caching).
Wed, 10 Sep 2008 20:53:09 +0000 cmlenz Merged the custom-directives branch back into trunk.
Tue, 19 Aug 2008 11:51:06 +0000 cmlenz Ported [913], [927], and [928] to the 0.5.x branch. stable-0.5.x
Sun, 10 Aug 2008 20:32:13 +0000 cmlenz Change `Translator` class to accept either a `gettext`-style function, or an object compatible with the `NullTranslations` / `GNUTranslations` interface.
Thu, 07 Aug 2008 23:15:11 +0000 cmlenz Add support for supplying comments on localizable messages in the i18n filter. Based on patch by Pedro Algarvio on #129.
Thu, 31 Jul 2008 14:18:25 +0000 cmlenz Fix for #250: ignore expressions in attribute values when inside `i18n:msg` elements.
Mon, 21 Jul 2008 23:17:52 +0000 aflett update to 0.5.x branch, up through r907 experimental-match-fastpaths
Tue, 08 Jul 2008 20:41:26 +0000 cmlenz Ported [899:902] to 0.5.x branch. stable-0.5.x
Tue, 08 Jul 2008 19:46:08 +0000 cmlenz Added tests for the parameter support added to advanced internationalization in [901]. See #129.
Tue, 08 Jul 2008 17:06:51 +0000 cmlenz Support for parameters in internationalized `i18n:msg` content. See #129.
Tue, 17 Jun 2008 15:49:34 +0000 cmlenz Ported [888] back to 0.5.x branch. stable-0.5.x
Tue, 17 Jun 2008 15:47:14 +0000 cmlenz Fix for I18n filter problem with lazy translation functions. Closes #145.
Mon, 09 Jun 2008 15:19:59 +0000 cmlenz Remove some cruft for supporting Python 2.3.
Fri, 06 Jun 2008 14:37:39 +0000 cmlenz Minor cleanup in the i18n module.
Fri, 11 Apr 2008 08:42:11 +0000 cmlenz newctxt branch: Merged revisions [678:835] via svnmerge from [source:trunk]. experimental-newctxt
Tue, 11 Dec 2007 21:17:18 +0000 cmlenz Fix case where attributes weren't properly wrapped in an `Attrs` instance if one or more of them were translated by the I18n filter, potentially breaking things further down the chain. Closes #162.
Wed, 15 Aug 2007 23:07:55 +0000 cmlenz Handle starargs and dstarargs in the I18n extraction code.
Tue, 14 Aug 2007 08:58:56 +0000 cmlenz Ported [710] to 0.4.x branch. stable-0.4.x 0.4.4
Tue, 14 Aug 2007 08:55:43 +0000 cmlenz Follow-up to [708]. The added `extract_text` option wasn't actually being handled by the Babel extraction plugin.
Mon, 13 Aug 2007 23:04:50 +0000 cmlenz Ported [708] to 0.4.x branch. stable-0.4.x
Mon, 13 Aug 2007 23:02:46 +0000 cmlenz Add option to I18n filter to only extract strings in gettext function calls.
Mon, 23 Jul 2007 09:50:44 +0000 cmlenz Improve docs on `Stream.select()` for #135.
Fri, 13 Jul 2007 19:29:32 +0000 cmlenz newctxt: Merged [667:676/trunk]. experimental-newctxt
Fri, 13 Jul 2007 16:31:47 +0000 cmlenz * The I18n extractor now handles gettext function calls that use non-string parameters as well as keyword arguments.
Thu, 05 Jul 2007 17:05:33 +0000 cmlenz Move code for extracting messages from bytecode into a separate function.
Thu, 05 Jul 2007 11:06:14 +0000 cmlenz Start implementation of advanced I18n as dicussed in #129 and the MailingList. This is not complete yet, but many simple cases work okay.
Mon, 02 Jul 2007 09:10:40 +0000 cmlenz Ported [658:659] to 0.4.x branch. stable-0.4.x
Mon, 02 Jul 2007 09:05:45 +0000 cmlenz The I18n filter now extracts text from translation functions in ignored tags. Fixes #132.
Wed, 27 Jun 2007 18:00:23 +0000 cmlenz Ported [643] to 0.4.x branch. stable-0.4.x
Wed, 27 Jun 2007 17:58:35 +0000 cmlenz The I18n filter no longer extracts or translates literal strings in attribute values that also contain expressions.
Wed, 20 Jun 2007 10:50:18 +0000 cmlenz Ported [634:637] to 0.4.x branch. stable-0.4.x 0.4.2
Wed, 20 Jun 2007 10:00:03 +0000 cmlenz Add missing copyright header to i18n.py.
Wed, 20 Jun 2007 09:48:55 +0000 cmlenz Integrated [http://babel.edgewall.org/ Babel] message extraction plugin, and added I18n doc page.
Fri, 15 Jun 2007 20:19:29 +0000 cmlenz Ported [626] to 0.4.x branch. stable-0.4.x
Fri, 15 Jun 2007 20:17:56 +0000 cmlenz The I18n filter now skips the content of elements that have an `xml:lang` attribute with a fixed string value. Basically, `xml:lang` can now be used as a flag to mark specific sections as not needing localization.
Mon, 04 Jun 2007 17:13:10 +0000 cmlenz Added new markup transformation filter contributed by Alec Thomas (#122). This provides gorgeous jQuery-inspired stream transformation capabilities based on XPath expressions.
Fri, 01 Jun 2007 17:21:47 +0000 cmlenz Merged revisions 487-603 via svnmerge from experimental-inline
Wed, 30 May 2007 09:35:33 +0000 cmlenz Ported [594:596] to 0.4.x branch. stable-0.4.x
Wed, 30 May 2007 09:27:49 +0000 cmlenz Fix another bug in the translation filter: translated attributes were getting added instead of replaced.
Mon, 21 May 2007 08:31:48 +0000 cmlenz Ported [585] to 0.4.x. stable-0.4.x
Mon, 21 May 2007 08:30:08 +0000 cmlenz Follow-up to [583]: Don't extract strings from interpolated attribute values for attributes that shouldn't be included.
Sun, 20 May 2007 17:12:10 +0000 cmlenz Ported [583] to 0.4.x. stable-0.4.x
Sun, 20 May 2007 17:10:38 +0000 cmlenz Fix for handling of interpolated attribute values in translation filter.
Sun, 20 May 2007 16:24:16 +0000 cmlenz Ported [581] to 0.4.x. stable-0.4.x
Sun, 20 May 2007 16:23:32 +0000 cmlenz Fix another typo in translation filter.
Mon, 30 Apr 2007 09:12:12 +0000 cmlenz Ported [569] to 0.4.x. stable-0.4.x
Mon, 30 Apr 2007 09:10:45 +0000 cmlenz The I18n extraction now returns a tuple of strings for `ngettext` and similar functions.
Sat, 28 Apr 2007 23:07:15 +0000 cmlenz Ported [566] and [567] to 0.4.x. stable-0.4.x
Copyright (C) 2012-2017 Edgewall Software