Make the UI translatable

This commit is contained in:
Bat
2018-06-17 16:26:15 +01:00
parent cafb0e2277
commit 3207aa0e22
22 changed files with 326 additions and 89 deletions
+5 -5
View File
@@ -1,21 +1,21 @@
{% extends "base" %}
{% block title %}
Login
{{ "Login" | _ }}
{% endblock title %}
{% block content %}
<h1>Login</h1>
<h1>{{ "Login" | _ }}</h1>
{% if message %}
<p>{{ message }}</p>
{% endif %}
<form method="post">
<label for="email_or_name">Username or email</label>
<label for="email_or_name">{{ "Username or email" | _ }}</label>
<input name="email_or_name">
<label for="password">Password</label>
<label for="password">{{ "Password" | _ }}</label>
<input type="password" name="password">
<input type="submit" value="Login"/>
<input type="submit" value="{{ "Login" | _ }}"/>
</form>
{% endblock content %}