projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ec25e
)
Issue 621: Extract strings from hooked templates.
author
Elrond
<elrond+mediagoblin.org@samba-tng.org>
Mon, 4 Feb 2013 16:11:01 +0000
(17:11 +0100)
committer
Elrond
<elrond+mediagoblin.org@samba-tng.org>
Mon, 4 Feb 2013 16:11:01 +0000
(17:11 +0100)
templates using the new hook system were not extracted
properly. One needs to add the new extension to the
extraction process as well.
babel.ini
patch
|
blob
|
blame
|
history
diff --git
a/babel.ini
b/babel.ini
index 2c005c4c1aed45bb0dc9e60dbb36a4606d0b474a..1c5e54f0decf01ccae6d2320d831490b0c6010bd 100644
(file)
--- 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)