Use shorter trans tag instead of translate.
This commit is contained in:
@@ -2,20 +2,20 @@
|
||||
{% load static %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %}{% translate 'Lost Place Deletion' %}{% endblock %}
|
||||
{% block title %}{% trans 'Lost Place Deletion' %}{% endblock %}
|
||||
|
||||
{% block maincontent %}
|
||||
|
||||
<form class="LP-Form" method="POST">
|
||||
<fieldset class="LP-Form__Fieldset">
|
||||
<legend class="LP-Form__Legend">{% translate 'Delete place' %}</legend>
|
||||
<legend class="LP-Form__Legend">{% trans 'Delete place' %}</legend>
|
||||
{% csrf_token %}
|
||||
<div class="LP-Form__Composition">
|
||||
<div class="LP-Form__Field LP-Form__InfoText">
|
||||
<p class="LP-Paragraph">{% translate 'Are you sure you want to delete' %} "{{place.name}}"?</p>
|
||||
<p class="LP-Paragraph">{% trans 'Are you sure you want to delete' %} "{{place.name}}"?</p>
|
||||
</div>
|
||||
</div>
|
||||
{% translate 'Delete' as action %}
|
||||
{% trans 'Delete' as action %}
|
||||
<div class="LP-Form__Composition LP-Form__Composition--buttons">
|
||||
{% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action=action %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user