Created
April 19, 2016 09:30
-
-
Save skill83/632c38fffdf631a7957c2ef38ca2decd to your computer and use it in GitHub Desktop.
wrap inside django template blocktrans
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
<snippet> | |
<content><![CDATA[{% blocktrans %}$SELECTION$1{% endblocktrans %}]]></content> | |
<!-- Optional: Tab trigger to activate the snippet --> | |
<tabTrigger>trans</tabTrigger> | |
<!-- Optional: Scope the tab trigger will be active in --> | |
<scope>source.html</scope> | |
<!-- Optional: Description to show in the menu --> | |
<description>Trans snippet</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment