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
+4 -4
View File
@@ -1,15 +1,15 @@
{% extends "base" %}
{% block title %}
Comment "{{ post.title }}"
{{ "Comment \"{{ post }}\"" | _(post=post.title) }}
{% endblock title %}
{% block content %}
<h1>Comment "{{ post.title }}"</h1>
<h1>{{ "Comment \"{{ post }}\"" | _(post=post.title) }}</h1>
<form method="post">
<label for="content">Content</label>
<label for="content">{{ "Content" | _ }}</label>
<textarea name="content"></textarea>
<input type="submit" value="Submit comment"/>
<input type="submit" value="{{ "Submit comment" | _ }}"/>
</form>
{% endblock content %}