Start translating the web portal

This commit is contained in:
Jonas Schäfer
2020-03-07 16:55:12 +01:00
parent 1ab3fac939
commit e07fbb0c97
13 changed files with 341 additions and 37 deletions

View File

@@ -1,19 +1,18 @@
{% extends "app.html" %}
{% block content %}
<h1>Welcome!</h1>
<p>Welcome home, {{ user_info.display_name }}.</p>
<h1>{% trans %}Welcome!{% endtrans %}</h1>
<p>{% trans user_name=user_info.display_name %}Welcome home, {{ user_name }}.{% endtrans %}</p>
<div class="welcome-cards">
<a class="card" href="{{ url_for('user.profile') }}">
<h2>Update profile</h2>
<p>Change display name, set avatar and configure visibility of your
personal data to others.</p>
<h2>{% trans %}Update profile{% endtrans %}</h2>
<p>{% trans %}Change display name, set avatar and configure visibility of your personal data to others.{% endtrans %}</p>
</a>
<a class="card" href="{{ url_for('user.change_pw') }}">
<h2>Change password</h2>
<h2>{% trans %}Change password{% endtrans %}</h2>
</a>
<a class="card" href="{{ url_for('user.logout') }}">
<h2>Log out</h2>
<p>Exit the Snikket Web Portal, without logging out your other devices.</p>
<h2>{% trans %}Log out{% endtrans %}</h2>
<p>{% trans %}Exit the Snikket Web Portal, without logging out your other devices.{% endtrans %}</p>
</a>
</div>
{% endblock %}