Defining Strings to be translated

This commit is contained in:
2020-10-01 22:10:31 +02:00
parent a2004bd789
commit 556931d2b1
6 changed files with 20 additions and 20 deletions

View File

@@ -1,13 +1,13 @@
{% extends 'global.html'%}
{% load static %}
# {% block title %}Login{% endblock %}
# {% block title %}{% translate 'Login' %}{% endblock %}
{% block maincontent %}
<form class="LP-Form" method="POST" enctype="multipart/form-data">
<fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">Login</legend>
<legend class="LP-Form__Legend">{% translate 'Login' %}</legend>
{% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field">
@@ -20,12 +20,12 @@
<div class="LP-Form__Composition LP-Form__Composition--buttons">
<div class="LP-Form__Field LP-Form__Button LP-Input">
<button class="LP-Button">Login</button>
<button class="LP-Button">{% translate 'Login' %}</button>
</div>
</div>
</fieldset>
</form>
<p class="LP-Headline">No account? <a class="LP-Link" href="{% url 'signup' %}"><span class="LP-Link__Text">Sign up here</span></a></p>
<p class="LP-Headline">{% translate 'Have No Account Yet?' %} <a class="LP-Link" href="{% url 'signup' %}"><span class="LP-Link__Text">{% translate 'Sign Up' %}</span></a></p>
{% endblock maincontent %}