Added translation tags.

This commit is contained in:
2020-10-01 23:05:34 +02:00
parent 2d2e356f1c
commit 60ad323e7a
9 changed files with 14 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
{% load i18n %}
<div class="LP-TagList">
<ul class="LP-TagList__List">
{% for tag in config.tagged_item.tags.all %}
@@ -25,11 +27,11 @@
<form id="id_tag_submit_form" class="LP-Form LP-Form--inline LP-Form--tagging" method="POST" action="{% url config.submit_url_name tagged_id=config.tagged_item.id%}">
<fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">Tags hinzufügen</legend>
<legend class="LP-Form__Legend">{% translate 'Add tags' %}</legend>
{% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field LP-Form__Button LP-Input LP-Input--tagging">
<button id="id_tag_submit_button" class="LP-Button"> Tags hinzufügen</button>
<button id="id_tag_submit_button" class="LP-Button">{% translate 'Add tags' %}</button>
</div>
<div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=config.submit_form.tag_list classes="LP-Input--tagging" %}

View File

@@ -1,3 +1,5 @@
{% load i18n %}
<header class="LP-TextSection__Headline">
<h1 class="LP-Headline">{% translate 'Start' %}</h1>
</header>