Make the UI translatable
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
{% extends "base" %}
|
||||
|
||||
{% block title %}
|
||||
Configuration
|
||||
{{ "Configuration" | _ }}
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Configure your instance</h1>
|
||||
<h1>{{ "Configure your instance" | _ }}</h1>
|
||||
<form method="post">
|
||||
<label for="name">Name</label>
|
||||
<label for="name">{{ "Name" | _ }}</label>
|
||||
<input name="name">
|
||||
|
||||
<input type="submit" value="Let's go!"/>
|
||||
<input type="submit" value="{{ "Let's go!" | _ }}"/>
|
||||
</form>
|
||||
{% endblock content %}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
{% block content %}
|
||||
<h1>{{ "Welcome on {{ instance_name }}" | _(instance_name=instance.name) }}</h1>
|
||||
|
||||
<h2>Latest articles</h2>
|
||||
<h2>{{ "Latest articles" }}</h2>
|
||||
<div class="cards">
|
||||
{% for article in recents %}
|
||||
{{ macros::post_card(article=article) }}
|
||||
|
||||
Reference in New Issue
Block a user