mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
Extract i18n strings using custom Jinja extractor
This commit is contained in:
parent
cebf18e987
commit
bc072f1237
@ -1,10 +1,13 @@
|
||||
[extractors]
|
||||
jinja2_indico = indico.util.translations:jinja2_babel_extract
|
||||
|
||||
[python: **.py]
|
||||
encoding = utf-8
|
||||
|
||||
[jinja2: templates/**.txt]
|
||||
[jinja2_indico: templates/**.txt]
|
||||
encoding = utf-8
|
||||
extensions = jinja2.ext.autoescape, jinja2.ext.with_
|
||||
|
||||
[jinja2: templates/**.html]
|
||||
[jinja2_indico: templates/**.html]
|
||||
encoding = utf-8
|
||||
extensions = jinja2.ext.autoescape, jinja2.ext.with_
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user