Skip to content

Commit

Permalink
1.3.3dev: follow-ups to r16361, fix failing to extract messages from …
Browse files Browse the repository at this point in the history
…a template with `do` keyword (closes #13052)

[skip ci]


git-svn-id: http://trac.edgewall.org/intertrac/log:/trunk@16694 af82e41b-90c4-0310-8c96-b1721e28e2e2
  • Loading branch information
jomae committed Jul 6, 2018
1 parent 668a06d commit db69444
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions messages.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,26 @@
[python: **.py]

[html: **/templates/**.html]
extensions = jinja2.ext.with_
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.with_
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
Expand Down

0 comments on commit db69444

Please sign in to comment.