Short validation.
This commit is contained in:
parent
eb8893064c
commit
062fa8eb3e
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{% 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 %}
|
||||
{% if 'jinja2.ext.i18n' not in JINJA_ENVIRONMENT.extensions and 'jinja2.ext.i18n' not in JINJA_EXTENSIONS %}
|
||||
{% macro _(msg) %}
|
||||
{{ msg % kwargs }}
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Reference in a new issue