|
@@ -1,35 +1,36 @@
|
|
|
|
|
|
{% extends 'homepage/base.html' %}
|
|
|
{% load static %}
|
|
|
+{% load i18n %}
|
|
|
|
|
|
-{% block title %}Stammbaum{% endblock %}
|
|
|
-{% block header %}Stammbaum{% endblock %}
|
|
|
+{% block title %}{% trans "Family Tree" %}{% endblock %}
|
|
|
+{% block header %}{% trans "Family Tree" %}{% endblock %}
|
|
|
|
|
|
{% block status %}
|
|
|
{% if user.is_authenticated %}
|
|
|
<p style="text-align:center">
|
|
|
- Hi {% firstof user.first_name user.username %}!<br/>
|
|
|
+ {% trans "Hello" %} {% firstof user.first_name user.username %}!<br/>
|
|
|
{% if user.is_staff %}
|
|
|
- <a href="/admin/stammbaum/" class="link" target="_blank">Stammbaum bearbeiten</a>
|
|
|
+ <a href="/admin/stammbaum/" class="link" target="_blank">{% trans "Edit family tree" %}</a>
|
|
|
{% endif %}
|
|
|
- <a href="{% url 'stammbaum-logout' %}" class="link">Logout</a>
|
|
|
+ <a href="{% url 'stammbaum-logout' %}" class="link">{% trans "Logout" %}</a>
|
|
|
</p>
|
|
|
{% else %}
|
|
|
<p style="text-align:center">
|
|
|
- You are not logged in<br/>
|
|
|
- <a href="{% url 'stammbaum-login' %}" class="link">Login</a>
|
|
|
- <a href="{% url 'stammbaum-register' %}" class="link">Register</a>
|
|
|
+ {% trans "You are not logged in" %}<br/>
|
|
|
+ <a href="{% url 'stammbaum-login' %}" class="link">{% trans "Login" %}</a>
|
|
|
+ <a href="{% url 'stammbaum-register' %}" class="link">{% trans "Register" %}</a>
|
|
|
</p>
|
|
|
{% endif %}
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block sidebar %}
|
|
|
<a href="mailto:stammbaum@justprojects.de" title="stammbaum@justprojects.de" target="_blank" class='overlay'>
|
|
|
- <div class='overlay'><b>Kontakt@mail</b></div>
|
|
|
+ <div class='overlay'><b>{% trans "contact@mail" %}</b></div>
|
|
|
</a>
|
|
|
{% if perms.stammbaum.view %}
|
|
|
<div class='overlay'>
|
|
|
- <div id='img_name'>Bitte Person auswählen, um Bild hinzuzufügen.</div>
|
|
|
+ <div id='img_name'>{% trans "Please select a person to upload their portrait." %}</div>
|
|
|
</div>
|
|
|
{% if perms.stammbaum.upload_image %}
|
|
|
<form method="get" id="form" action="#">
|
|
@@ -40,11 +41,11 @@
|
|
|
{% endif %}
|
|
|
|
|
|
<div class='overlay' id='save'>
|
|
|
- Speichern als SVG
|
|
|
+ {% trans "Save as SVG" %}
|
|
|
</div>
|
|
|
<div id="group">
|
|
|
<div class='overlay all' style='color:black' onclick='display(null);'>
|
|
|
- <b>Alles anzeigen</b>
|
|
|
+ <b>{% trans "Show all" %}</b>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -75,16 +76,16 @@
|
|
|
|
|
|
<div class="news">
|
|
|
|
|
|
- <h2 class="news_title">Information</h2>
|
|
|
+ <h2 class="news_title">{% trans "Information" %}</h2>
|
|
|
<div class="news_body">
|
|
|
<p>
|
|
|
- Ihr Account wurde noch nicht freigeschaltet.
|
|
|
+ {% trans "Your account hasn't been validated yet." %}
|
|
|
</p>
|
|
|
<p>
|
|
|
- Sie haben keine Berechtigung diesen Inhalt anzusehen.
|
|
|
+ {% trans "You are not allowed to view this content." %}
|
|
|
</p>
|
|
|
<p>
|
|
|
- Bitte melden Sie sich bei einem Administrator.
|
|
|
+ {% trans "Please contact an administrator." %}
|
|
|
</p>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -95,9 +96,9 @@
|
|
|
|
|
|
<div class="news">
|
|
|
|
|
|
- <h2 class="news_title">Zugriff verweigert</h2>
|
|
|
+ <h2 class="news_title">{% trans "Access denied" %}</h2>
|
|
|
<p>
|
|
|
- Bitte melden Sie sich an, um diesen Inhalt zu sehen.
|
|
|
+ {% trans "Please login to view this content." %}
|
|
|
</p>
|
|
|
</div>
|
|
|
|