From: Elrond Date: Mon, 4 Feb 2013 16:11:01 +0000 (+0100) Subject: Issue 621: Extract strings from hooked templates. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bee998d5fd1855edbfcc44b2383f5627a5be65eb;p=mediagoblin.git Issue 621: Extract strings from hooked templates. templates using the new hook system were not extracted properly. One needs to add the new extension to the extraction process as well. --- diff --git a/babel.ini b/babel.ini index 2c005c4c..1c5e54f0 100644 --- a/babel.ini +++ b/babel.ini @@ -4,7 +4,7 @@ [jinja2: mediagoblin/**/templates/**.html] # Extract jinja templates (html) encoding = utf-8 -extensions = jinja2.ext.autoescape +extensions = jinja2.ext.autoescape, mediagoblin.tools.template.TemplateHookExtension [jinja2: mediagoblin/templates/**.txt] # Extract jinja templates (text)