File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
djangocms_form_builder/templates/djangocms_form_builder/mails/default Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 11{% load i18n %}
2- < h1 > {% trans "Form submission" %}</ h1 >
3- < p > {% if user %}{% trans "by" %} {{ user.firstname }} {{ user.lastname }} ({{ user.username }}){% else %}{% trans "by anonymous" %}{% endif %}</ p >
2+ < h1 > {% translate "Form submission" %}</ h1 >
3+ < p > {% if user %}{% translate "by" %} {{ user.firstname }} {{ user.lastname }} ({{ user.username }}){% else %}{% translate "by anonymous" %}{% endif %}</ p >
44< table >
55 < thead >
66 < tr >
7- < th > {% trans "Field" %}</ th >
8- < th > {% trans "Value" %}</ th >
7+ < th > {% translate "Field" %}</ th >
8+ < th > {% translate "Value" %}</ th >
99 </ tr >
1010 </ thead >
1111 < tbody >
@@ -16,15 +16,15 @@ <h1>{% trans "Form submission" %}</h1>
1616 </ tr >
1717 {% endfor %}
1818 < tr >
19- < td > {% trans "time" %}</ td >
19+ < td > {% translate "time" %}</ td >
2020 < td > {% now "H:i d/m/Y" %}</ td >
2121 </ tr >
2222 < tr >
23- < td > {% trans "user agent" %}</ td >
23+ < td > {% translate "user agent" %}</ td >
2424 < td > {{ user_agent }}</ td >
2525 </ tr >
2626 < tr >
27- < td > {% trans "referer" %}</ td >
27+ < td > {% translate "referer" %}</ td >
2828 < td > {{ referer }}</ td >
2929 </ tr >
3030 </ tbody >
You can’t perform that action at this time.
0 commit comments