Created
April 3, 2019 14:55
-
-
Save Blucknote/ab9861992c17fdf55f3d40fa43956ee9 to your computer and use it in GitHub Desktop.
replace django {% trans '' %} to jinja {{_('')}}
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
\{%\s?trans\s(.+)\s?%\} | |
{{ _($1) }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment