X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=babel.ini;h=e670f593bbdb939086c4d67ef42afabb6d7ad3d4;hb=59a9c11e9a9b4540899ecc63bd5f8e3ab2a189d1;hp=1a8231f5a15e06e0c66c0e66028d30161f62adc9;hpb=a0033abb9b6c7d9b42cb82b91bba27d7fe238038;p=mediagoblin.git diff --git a/babel.ini b/babel.ini index 1a8231f5..e670f593 100644 --- a/babel.ini +++ b/babel.ini @@ -1,13 +1,13 @@ # 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 +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