Julien added the comment:

That's also the actual syntax used by existing Sphinx templates:

    mandark@windhowl$ grep -r '{% trans'  
~/.local/lib/python3.4/site-packages/sphinx_rtd_theme/
    footer.html:        {% trans path=pathto('copyright'), 
copyright=copyright|e %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright 
}}.{% endtrans %}
    footer.html:        {% trans copyright=copyright|e %}&copy; Copyright {{ 
copyright }}.{% endtrans %}
    ...
    ...

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25907>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to