mediagoblin/babel.ini
Elrond bee998d5fd 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.
2013-02-04 17:11:01 +01:00

17 lines
535 B
INI

# Extraction from Python source files
[python: mediagoblin/**.py]
# Extraction from Genshi HTML and text templates
[jinja2: mediagoblin/**/templates/**.html]
# Extract jinja templates (html)
encoding = utf-8
extensions = jinja2.ext.autoescape, mediagoblin.tools.template.TemplateHookExtension
[jinja2: mediagoblin/templates/**.txt]
# Extract jinja templates (text)
encoding = utf-8
extensions = jinja2.ext.autoescape
# # Extraction from JavaScript files
# [javascript: mediagoblin/static/js/**.js]
# extract_messages = $._, jQuery._