aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2013-02-04 17:11:01 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2013-02-04 17:11:01 +0100
commitbee998d5fd1855edbfcc44b2383f5627a5be65eb (patch)
tree151f7de13d40fc649940cdadef1cc99770a2297b
parenta2ec25e3d1f01a711b4371ec9cc9342fe310395b (diff)
downloadmediagoblin-bee998d5fd1855edbfcc44b2383f5627a5be65eb.tar.lz
mediagoblin-bee998d5fd1855edbfcc44b2383f5627a5be65eb.tar.xz
mediagoblin-bee998d5fd1855edbfcc44b2383f5627a5be65eb.zip
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.
-rw-r--r--babel.ini2
1 files changed, 1 insertions, 1 deletions
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)