Mercurial > genshi > mirror
changeset 466:015419437645 trunk
Fix another bad ref in the I18n filter.
author | cmlenz |
---|---|
date | Sat, 28 Apr 2007 22:51:02 +0000 |
parents | 2f13c5fc4a4d |
children | 23082baddbf9 |
files | genshi/filters/i18n.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/genshi/filters/i18n.py +++ b/genshi/filters/i18n.py @@ -227,7 +227,8 @@ if text: yield pos[1], None, text else: - for lineno, funcname, text in harvest(value): + for lineno, funcname, text in self.extract(value, + gettext_functions): yield lineno, funcname, text elif kind is TEXT: @@ -264,5 +265,6 @@ elif kind is SUB: subkind, substream = data - for lineno, funcname, text in self.harvest(substream): + for lineno, funcname, text in self.extract(substream, + gettext_functions): yield lineno, funcname, text