translation: Define new stings and continue translation

This commit is contained in:
2024-04-13 13:25:09 +02:00
parent 5d925ead67
commit 8cd326663c
15 changed files with 496 additions and 209 deletions
@@ -7,8 +7,8 @@
<div>
<table>
<tr>
<th>Alter</th>
<th>Geschlecht</th>
<th>{% translate "Alter" %}</th>
<th>{% translate "Geschlecht" %}</th>
</tr>
<tr>
<td>{{ animal.hr_age }}</td>
@@ -17,7 +17,7 @@
</table>
</div>
<p>{{ animal.description }}</p>
<h2>Bilder</h2>
<h2>{% translate "Bilder" %}</h2>
<div class="photos">
{% for image in animal.photos_list %}
<div class="card-photo">
@@ -8,9 +8,9 @@
<p><strong>{% translate "E-Mail" %}:</strong> {{ member.user.email }}</p>
{% if member.preferred_language %}
<p><strong>{% translate "Language" %}:</strong> {{ member.preferred_language }}</p>
<p><strong>{% translate "Sprache" %}:</strong> {{ member.preferred_language }}</p>
{% else %}
<p>{% translate "No preferred language set." %}</p>
<p>{% translate "Keine bevorzugte Sprache gesetzt." %}</p>
{% endif %}
{% endblock %}
@@ -3,17 +3,19 @@
{% block content %}
{% if form_complete %}
<h1>Erfolgreich gemeldet</h1>
Wenn du sehen willst welche Moderationsentscheidungen getroffen werden, schau zu einem späteren Zeitpunkt wieder
auf dieser Seite vorbei.
Wenn du unzufrieden mit der Entscheidung bist, kannst du per Mail an
<a href="mailto:info@notfellchen.org">info@notfellchen.org</a> Einspruch einlegen.
<h1>{% Erfolgreich gemeldet %}</h1>
{% blocktranslate %}
Wenn du sehen willst welche Moderationsentscheidungen getroffen werden, schau zu einem späteren Zeitpunkt
wieder auf dieser Seite vorbei.
Wenn du unzufrieden mit der Entscheidung bist, kannst du per Mail an
<a href="mailto:info@notfellchen.org">info@notfellchen.org</a> Einspruch einlegen.
{% endblocktranslate %}
{% endif %}
{% include "fellchensammlung/partials/partial-report.html" %}
<h2>Moderationsverlauf</h2>
<h2>{% translate "Moderationsverlauf" %}</h2>
{% if report.get_moderation_actions %}
{% include "fellchensammlung/lists/list-moderation-action.html" %}
{% else %}
Bisher wurden keine Maßnahmen vorgenommen
{% translate "Bisher wurden keine Maßnahmen vorgenommen" %}
{% endif %}
{% endblock %}
@@ -9,14 +9,14 @@
<div class="table-adoption-notice-info">
<table>
<tr>
<th>Ort</th>
<th>Suchen seit</th>
<th>{% translate "Ort" %}</th>
<th>{% translate "Suchen seit" %}</th>
</tr>
<tr>
{% if adoption_notice.location %}
<td>{{ adoption_notice.location.name }}, {{ adoption_notice.location.postcode }}</td>
{% else %}
<td>Kein Ort angegeben</td>
<td>{% translate "Kein Ort angegeben" %}</td>
{% endif %}
<td>{{ adoption_notice.searching_since }}</td>
</tr>
@@ -26,7 +26,7 @@
{% if adoption_notice.description %}
{{ adoption_notice.description }}
{% else %}
Keine Beschreibung angegeben
{% translate "Keine Beschreibung angegeben" %}
{% endif %}
</p>
@@ -2,11 +2,11 @@
{% load i18n %}
{% block content %}
<h1>Melden</h1>
<h1>{% translate "Melden" %}</h1>
Wenn diese Vermittlung nicht unseren <a href='{% url "about" %}'>Regeln</a> entspricht, wähle bitte eine der folgenden Regeln aus und hinterlasse einen Kommentar der es detaillierter erklärt, insbesondere wenn der Regelverstoß nicht offensichtlich ist.
<form method = "post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<button class="button-report" type="submit">Melden</button>
<button class="button-report" type="submit">{% translate "Melden" %}</button>
</form>
{% endblock %}
@@ -2,12 +2,14 @@
{% load i18n %}
{% block content %}
<h1>Vermitteln</h1>
<h1>{% translate "Vermitteln" %}</h1>
{% blocktranslate %}
Bitte mach dich zunächst mit unseren Regeln vertraut. Dann trage hier die ersten Informationen ein.
Du bekommst in einem weiteren Schritt die Möglichkeit einzelne Tiere zu deiner Vermittlung hinzuzufügen und Fotos hochzuladen.
{% endblocktranslate %}
<form method = "post" enctype="multipart/form-data">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">Weiter</button>
<button type="submit">{% translate "Weiter" %}</button>
</form>
{% endblock %}
@@ -2,19 +2,23 @@
{% load i18n %}
{% block content %}
<h1>Vermitteln</h1>
Hier kannst du jetzt einzelne Tiere zu deiner Vermittlung hinzufügen. Lad auch gerne Fotos hoch. Gruppenfotos kannst
du im nächsten Schritt hochladen.
<h1>{% translate "Vermitteln" %}</h1>
{% blocktranslate %}
Hier kannst du jetzt einzelne Tiere zu deiner Vermittlung hinzufügen. Lad auch gerne Fotos hoch. Gruppenfotos
kannst
du im nächsten Schritt hochladen.
{% endblocktranslate %}
<form method="post" enctype="multipart/form-data">
{% csrf_token %}
<div class="form-animal">
{{ form.as_p }}
</div>
<div class="form-image">
<h2>Bild hinzufügen</h2>
<h2>{% translate "Bild hinzufügen" %}</h2>
{{ image_form.as_p }}
</div>
<button name="button_add_another_animal" type="submit">Speichern und nächstes Tier hinzufügen</button>
<button name="button_save_and_continue" type="submit">Speichern und weiter</button>
<button name="button_add_another_animal"
type="submit">{% translate "Speichern und nächstes Tier hinzufügen" %}</button>
<button name="button_save_and_continue" type="submit">{% translate "Speichern und weiter" %}</button>
</form>
{% endblock %}
@@ -1,25 +1,27 @@
{% load custom_tags %}
{% load i18n %}
<div class="card-adoption-notice">
<div>
<div class="header-card-adoption-notice">
<h1><a href="{{ adoption_notice.get_absolute_url }}"> {{ adoption_notice.name }}</a></h1>
<a href="{{ adoption_notice.get_report_url }}">Melden</a>
<a href="{{ adoption_notice.get_report_url }}">{% translate "Melden" %}</a>
</div>
<p><b>Notfellchen:</b> {{ adoption_notice.animals.all|join_link:", " | safe }}
<p><b>{% translate "Notfellchen" %}:</b> {{ adoption_notice.animals.all|join_link:", " | safe }}
</p>
<p>
<b>Ort</b>
{% if adoption_notice.location %}
{{ adoption_notice.location }}
{% else %}
Keine Ort angegeben
{% translate "Keine Ort angegeben" %}
{% endif %}
</p>
<p>
{% if adoption_notice.description %}
{{ adoption_notice.description }}
{% else %}
Keine Beschreibung
{% translate "Keine Beschreibung" %}
{% endif %}
</p>
{% if adoption_notice.get_photo %}
@@ -29,7 +31,7 @@
alt="{{ adoption_notice.get_photo.alt_text }}">
</div>
{% else %}
No photo
{% translate "Keine Foto" %}
{% endif %}
</div>
</div>
@@ -1,3 +1,4 @@
{% load i18n %}
<div class="card-animal">
<div class="detail-animal-header">
<h1>{{ animal.name }}</h1>
@@ -8,6 +9,6 @@
<img src="/media/{{ animal.get_photo.image }}" alt="{{ animal.get_photo.alt_text }}">
</div>
{% else %}
No photos
{% translate "Keine Foto" %}
{% endif %}
</div>
@@ -1,4 +1,5 @@
{% load i18n %}
<div class="card-animal">
<div class="tag">{{ moderation_action.action }}</div>
<div class="tag">{{ moderation_action.action }}</div>
<p>{{ moderation_action.public_comment }}</p>
</div>
@@ -1,14 +1,19 @@
{% load i18n %}
<div class="report">
<h2>Meldung von {{ report.adoption_notice.name }}</h2>
<h2>
{% blocktranslate %}
Meldung von {{ report.adoption_notice.name }}
{% endblocktranslate %}
</h2>
{% if report.reported_broken_rules %}
Regeln gegen die Verstoßen wurde
<ul>
{% for rule in report.get_reported_rules %}
<li>{{ rule }}</li>
{% endfor %}
</ul>
{% translate "Regeln gegen die Verstoßen wurde" %}
<ul>
{% for rule in report.get_reported_rules %}
<li>{{ rule }}</li>
{% endfor %}
</ul>
{% endif %}
<p><b>Kommentar zur Meldung:</b>
<p><b>{% translate "Kommentar zur Meldung" %}:</b>
{{ report.comment }}
</p>
</div>