Fixed line return

This commit is contained in:
Nicolas CHARLOT 2017-01-09 18:14:22 +01:00 committed by GitHub
parent cee04af7a4
commit f17e6bf5a4

View file

@ -1,4 +1,5 @@
{% if JINJA_ENVIRONMENT is defined and 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT['extensions'] or JINJA_ENVIRONMENT is not defined and 'jinja2.ext.i18n' not in JINJA_EXTENSIONS %} {% macro _(msg) %}
{% if JINJA_ENVIRONMENT is defined and 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT['extensions'] or JINJA_ENVIRONMENT is not defined and 'jinja2.ext.i18n' not in JINJA_EXTENSIONS %}
{% macro _(msg) %}
{{ msg % kwargs }}
{% endmacro %}
{% endif %}