summaryrefslogtreecommitdiff
path: root/babel.cfg
blob: 4c1e718013abccadd16c4165fa13841aeea39517 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# How setup this file
# http://babel.edgewall.org/wiki/Documentation/setup.html
# this file description:
# http://babel.edgewall.org/wiki/Documentation/messages.html#extraction-method-mapping-and-configuration

# Extraction from Python source files
[python: **.py]
encoding = utf-8

# 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]