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
|
# mapping file for extracting messages from Jinja2 templates into
# trac/locale/messages.pot (see setup.cfg)
[ignore: **/tests/**]
[python: **.py]
[html: **/templates/**.html]
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]
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
|