Mercurial > genshi > mirror
changeset 762:df2eda814f2d trunk
Fix for I18n filter problem with lazy translation functions. Closes #145.
author | cmlenz |
---|---|
date | Tue, 17 Jun 2008 15:47:14 +0000 |
parents | 6a424a74f5be |
children | b5b4b465e84c |
files | ChangeLog genshi/filters/i18n.py |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,10 @@ * Fix problem with nested match templates not being applied when buffering on the outer `py:match` is disabled. Thanks to Erik Bray for reporting the problem and providing a test case! + * Fix problem in `Translator` filter that would cause the translation of + text nodes to fail if the translation function returned an object that was + not directly a string, but rather something like an instance of the + `LazyProxy` class in Babel (ticket #145). Version 0.5