Putting either {% %} or {% formfill form_data with errors %} in a jijnja2 template file breaks pybabel extraction. Removing those from a template file and the extration works as expected.
Steps to recreate:
Create a template file that looks like
{% import "form_macros.html" as form %}
{% %}
<h1> {{ _('Home') }} </h1>
and then run pybabel extract on it. Home will not be extracted.
If you remove the {% %} from the file it will work.
Putting either {% %} or {% formfill form_data with errors %} in a jijnja2 template file breaks pybabel extraction. Removing those from a template file and the extration works as expected.
Steps to recreate:
Create a template file that looks like
and then run pybabel extract on it. Home will not be extracted.
If you remove the {% %} from the file it will work.