-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix translation of templates with extensions tags (#8)
When trying to translate templates that use tags from extensions different than jinja2.ext.i18n. At the moment of exporting the literals of those templates the jinja2 engine does not recognize the tags and throws an exception. This can be reproduced using the "do" statement in a template and trying to define tryton translations. https://jinja.palletsprojects.com/en/3.1.x/templates/#expression-statement Co-authored-by: Victor <[email protected]>
- Loading branch information
1 parent
cd4fa09
commit 52a1528
Showing
1 changed file
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters