Use shorter trans tag instead of translate.

This commit is contained in:
2020-10-10 23:46:26 +02:00
parent f73b264a2a
commit 3fa6170f0c
17 changed files with 61 additions and 61 deletions

View File

@@ -1,19 +1,19 @@
{% load i18n %}
{% extends 'global.html'%}
{% block title %}{% translate 'Submit a photo album' %}{% endblock %}
{% block title %}{% trans 'Submit a photo album' %}{% endblock %}
{% block additional_menu_items %}
<li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_edit' pk=place.pk %}" class="LP-Link"><span
class="LP-Link__Text">{% translate 'Edit place' %}</span></a></li>
class="LP-Link__Text">{% trans 'Edit place' %}</span></a></li>
<li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_delete' pk=place.pk %}" class="LP-Link"><span
class="LP-Link__Text">{% translate 'Delete place' %}</span></a></li>
class="LP-Link__Text">{% trans 'Delete place' %}</span></a></li>
{% endblock additional_menu_items %}
{% block maincontent %}
<form class="LP-Form" method="POST">
<fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% translate 'Submit a photo album for' %}% {{place.name}}</legend>
<legend class="LP-Form__Legend">{% trans 'Submit a photo album for' %}% {{place.name}}</legend>
{% csrf_token %}
<div class="LP-Form__Composition">
<div class="LP-Form__Field">