Provide an update_extlib.sh alternative for Guix.
[mediagoblin.git] / babel.ini
index a4e3267a6d9165ce87ec415c42b745b193a0961c..e670f593bbdb939086c4d67ef42afabb6d7ad3d4 100644 (file)
--- a/babel.ini
+++ b/babel.ini
@@ -1,12 +1,15 @@
 # Extraction from Python source files
 [python: mediagoblin/**.py]
-# Extraction from Genshi HTML and text templates
-[jinja2: mediagoblin/templates/**.html]
-# Extract jinja templates (html)
+# Extraction from Jinja2 HTML and text templates
+[jinja2: mediagoblin/**/templates/**.html]
+# Extract Jinja2 templates (html)
 encoding = utf-8
+extensions = jinja2.ext.autoescape, mediagoblin.tools.template.TemplateHookExtension
+
 [jinja2: mediagoblin/templates/**.txt]
-# Extract jinja templates (text)
+# Extract Jinja2 templates (text)
 encoding = utf-8
+extensions = jinja2.ext.autoescape
 
 # # Extraction from JavaScript files
 # [javascript: mediagoblin/static/js/**.js]