forked from edgewall/trac
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmessages.cfg
More file actions
33 lines (28 loc) · 756 Bytes
/
messages.cfg
File metadata and controls
33 lines (28 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# mapping file for extracting messages from Jinja2 templates into
# trac/locale/messages.pot (see setup.cfg)
[ignore: **/tests/**]
[python: **.py]
[html: **/templates/**.html]
extensions = jinja2.ext.do, jinja2.ext.with_
variable_start_string = ${
variable_end_string = }
line_statement_prefix = #
line_comment_prefix = ##
trim_blocks = yes
lstrip_blocks = yes
newstyle_gettext = yes
silent = no
[text: **/templates/**.txt]
extensions = jinja2.ext.do, jinja2.ext.with_
variable_start_string = ${
variable_end_string = }
line_statement_prefix = #
line_comment_prefix = ##
trim_blocks = yes
lstrip_blocks = yes
newstyle_gettext = yes
silent = no
[extractors]
python = trac.dist:extract_python
html = trac.dist:extract_html
text = trac.dist:extract_text