Add some missing translations

This commit is contained in:
Jonas Schäfer
2021-01-17 19:59:50 +01:00
parent 1b6d340d49
commit c3cee9b3a2
4 changed files with 52 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% from "library.j2" import avatar with context %}
{% block head_lead %}
<title>Snikket Web Portal</title>
<title>{% trans %}Snikket Web Portal{% endtrans %}</title>
{% endblock %}
{% block style %}
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/app.css') }}">

View File

@@ -4,11 +4,15 @@
{% endblock %}
{% block content %}
<div class="form layout-expanded"><form method="POST">
<h2 class="form-title">Sign out of the Snikket Web Portal</h2>
<p class="form-desc">Click below to log yourself out of the web portal. This does not affect any other connected devices.</p>
<h2 class="form-title">{% trans %}Sign out of the Snikket Web Portal{% endtrans %}</h2>
<p class="form-desc">{% trans %}Click below to log yourself out of the web portal. This does not affect any other connected devices.{% endtrans %}</p>
{{ form.csrf_token }}
<div class="f-bbox">
<a href="{{ url_for('user.index') }}" class="button secondary">Back</a><button type="submit" class="primary">Sign out</button>
{#- -#}
<a href="{{ url_for('user.index') }}" class="button secondary">{% trans %}Back{% endtrans %}</a>
{#- -#}
<button type="submit" class="primary">{% trans %}Sign out{% endtrans %}</button>
{#- -#}
</div>
</form></div>
{% endblock %}

View File

@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: SnikketWeb 0.1.0\n"
"Report-Msgid-Bugs-To: jonas@zombofant.net\n"
"POT-Creation-Date: 2021-01-17 20:12+0100\n"
"POT-Creation-Date: 2021-01-17 20:13+0100\n"
"PO-Revision-Date: 2020-03-07 16:32+0100\n"
"Last-Translator: Jonas Schäfer <jonas@zombofant.net>\n"
"Language: de\n"
@@ -136,6 +136,7 @@ msgid "Link"
msgstr "Link"
#: snikket_web/templates/admin_edit_invite.html:24
#: snikket_web/templates/user_logout.html:12
#: snikket_web/templates/user_passwd.html:39
#: snikket_web/templates/user_profile.html:24
msgid "Back"
@@ -243,6 +244,10 @@ msgstr "Derzeit gibt es keine ausstehenden Einladungen."
msgid "Phone number"
msgstr "Telefonnummer"
#: snikket_web/templates/app.html:4
msgid "Snikket Web Portal"
msgstr "Snikket Webportal"
#: snikket_web/templates/app.html:20 snikket_web/templates/login.html:36
#, python-format
msgid "A <a href=\"%(about_url)s\">Snikket</a> server"
@@ -317,6 +322,22 @@ msgstr ""
"Verlasse das Snikket Web-Portal, ohne dass deine anderen Geräte "
"beeinträchtigt werden."
#: snikket_web/templates/user_logout.html:7
msgid "Sign out of the Snikket Web Portal"
msgstr "Aus dem Webportal abmelden"
#: snikket_web/templates/user_logout.html:8
msgid ""
"Click below to log yourself out of the web portal. This does not affect "
"any other connected devices."
msgstr ""
"Klicke unten um dich aus dem Webportal abzumelden. Dies betrifft keine "
"anderen Geräte von dir."
#: snikket_web/templates/user_logout.html:14
msgid "Sign out"
msgstr "Abmelden"
#: snikket_web/templates/user_passwd.html:7
msgid "Change your password"
msgstr "Ändere dein Passwort"
@@ -345,7 +366,7 @@ msgid ""
"all of your devices."
msgstr ""
"Nachdem du das Passwort geändert hast, musst du das neue Passwort auf "
"allenGeräten manuell eintragen."
"allen Geräten manuell eintragen."
#: snikket_web/templates/user_profile.html:7
msgid "Profile"

View File

@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2021-01-17 20:12+0100\n"
"POT-Creation-Date: 2021-01-17 20:13+0100\n"
"PO-Revision-Date: 2020-03-07 16:50+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: en\n"
@@ -138,6 +138,7 @@ msgid "Link"
msgstr ""
#: snikket_web/templates/admin_edit_invite.html:24
#: snikket_web/templates/user_logout.html:12
#: snikket_web/templates/user_passwd.html:39
#: snikket_web/templates/user_profile.html:24
msgid "Back"
@@ -239,6 +240,10 @@ msgstr ""
msgid "Phone number"
msgstr ""
#: snikket_web/templates/app.html:4
msgid "Snikket Web Portal"
msgstr ""
#: snikket_web/templates/app.html:20 snikket_web/templates/login.html:36
#, python-format
msgid "A <a href=\"%(about_url)s\">Snikket</a> server"
@@ -311,6 +316,21 @@ msgstr "Log out"
msgid "Exit the Snikket Web Portal, without logging out your other devices."
msgstr "Exit the Snikket Web Portal, without logging out your other devices."
#: snikket_web/templates/user_logout.html:7
msgid "Sign out of the Snikket Web Portal"
msgstr ""
#: snikket_web/templates/user_logout.html:8
msgid ""
"Click below to log yourself out of the web portal. This does not affect "
"any other connected devices."
msgstr ""
#: snikket_web/templates/user_logout.html:14
#, fuzzy
msgid "Sign out"
msgstr "Log out"
#: snikket_web/templates/user_passwd.html:7
msgid "Change your password"
msgstr "Change your password"