diff options
Diffstat (limited to 'babel.cfg')
-rw-r--r-- | babel.cfg | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/babel.cfg b/babel.cfg new file mode 100644 index 0000000..b1816e8 --- /dev/null +++ b/babel.cfg @@ -0,0 +1,35 @@ +# How to setup this file +# https://babel.pocoo.org/en/latest/installation.html +# this file description: +# https://babel.pocoo.org/en/latest/messages.html + +# Extraction from Python source files +[python: **.py] +encoding = utf-8 + +# Extraction from Jinja2 template files +[jinja2: **/templates/latex/**.tex_t] +variable_start_string = <%= +variable_end_string = %> +block_start_string = <% +block_end_string = %> + +# Extraction from Jinja2 template files +[jinja2: **/templates/latex/**.sty_t] +variable_start_string = <%= +variable_end_string = %> +block_start_string = <% +block_end_string = %> + +# Extraction from Jinja2 HTML templates +[jinja2: **/themes/**.html] +encoding = utf-8 +ignore_tags = script,style +include_attrs = alt title summary + +# Extraction from Jinja2 XML templates +[jinja2: **/themes/**.xml] + +# Extraction from JavaScript files +[javascript: **.js] +[javascript: **.js_t] |