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.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
[jinja2: mediagoblin/**/templates/**.html]
|
[jinja2: mediagoblin/**/templates/**.html]
|
||||||
# Extract jinja templates (html)
|
# Extract jinja templates (html)
|
||||||
encoding = utf-8
|
encoding = utf-8
|
||||||
extensions = jinja2.ext.autoescape
|
extensions = jinja2.ext.autoescape, mediagoblin.tools.template.TemplateHookExtension
|
||||||
|
|
||||||
[jinja2: mediagoblin/templates/**.txt]
|
[jinja2: mediagoblin/templates/**.txt]
|
||||||
# Extract jinja templates (text)
|
# Extract jinja templates (text)
|
||||||
|
|||||||
Reference in New Issue
Block a user