From 5d925ead678bd00101bb302fb858fd428d2014f6 Mon Sep 17 00:00:00 2001 From: moanos Date: Sat, 13 Apr 2024 12:46:24 +0200 Subject: [PATCH] translation: continue --- README.md | 2 +- .../templates/fellchensammlung/about.html | 2 +- .../templates/fellchensammlung/header.html | 6 ++--- src/locale/de/LC_MESSAGES/django.po | 26 +++++++++++++++---- src/locale/en/LC_MESSAGES/django.po | 22 +++++++++++++--- 5 files changed, 45 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 73fff28..2b43e8d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Zuhause finden können. # Developer Notes -Because of a wired bug the inital migrations must run two times as the first time the permissions +Because of a wired bug the initial migrations must run two times as the first time the permissions for `create_active_adoption_notice` are created but can not yet be accessed and on the second time this permission will be added to groups. diff --git a/src/fellchensammlung/templates/fellchensammlung/about.html b/src/fellchensammlung/templates/fellchensammlung/about.html index d14c023..9c59bbf 100644 --- a/src/fellchensammlung/templates/fellchensammlung/about.html +++ b/src/fellchensammlung/templates/fellchensammlung/about.html @@ -2,6 +2,6 @@ {% load i18n %} {% block content %} -

Rules

+

{% translate "Regeln" %}

{% include "fellchensammlung/lists/list-rules.html" %} {% endblock %} \ No newline at end of file diff --git a/src/fellchensammlung/templates/fellchensammlung/header.html b/src/fellchensammlung/templates/fellchensammlung/header.html index 3a0dcb3..b19fa0f 100644 --- a/src/fellchensammlung/templates/fellchensammlung/header.html +++ b/src/fellchensammlung/templates/fellchensammlung/header.html @@ -19,12 +19,12 @@

{{ user.username }}

{% csrf_token %} - +
{% else %} - Registrieren - Einloggen + {% translate "Registrieren" %} + {% translate "Einloggen" %} {% endif %}
diff --git a/src/locale/de/LC_MESSAGES/django.po b/src/locale/de/LC_MESSAGES/django.po index 48dffea..835baae 100644 --- a/src/locale/de/LC_MESSAGES/django.po +++ b/src/locale/de/LC_MESSAGES/django.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-12 21:43+0000\n" -"PO-Revision-Date: 2024-04-12 23:46+0200\n" +"POT-Creation-Date: 2024-04-13 10:44+0000\n" +"PO-Revision-Date: 2024-04-13 12:45+0200\n" "Last-Translator: \n" "Language-Team: \n" "Language: de\n" @@ -19,11 +19,11 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Poedit 3.4.2\n" -#: build/lib/notfellchen/settings.py:214 src/notfellchen/settings.py:225 +#: build/lib/notfellchen/settings.py:214 src/notfellchen/settings.py:209 msgid "English" msgstr "Englisch" -#: build/lib/notfellchen/settings.py:215 src/notfellchen/settings.py:226 +#: build/lib/notfellchen/settings.py:215 src/notfellchen/settings.py:210 msgid "German" msgstr "Deutsch" @@ -149,6 +149,10 @@ msgstr "Mitglied" msgid "Members" msgstr "Mitglieder" +#: src/fellchensammlung/templates/fellchensammlung/about.html:5 +msgid "Regeln" +msgstr "" + #: src/fellchensammlung/templates/fellchensammlung/details/detail-member.html:7 msgid "Username" msgstr "Username" @@ -159,7 +163,19 @@ msgstr "E-Mail" #: src/fellchensammlung/templates/fellchensammlung/details/detail-member.html:13 msgid "No preferred language set." -msgstr "Keine bevorzugte Sprache hinterlegt" +msgstr "Keine bevorzugte Sprache hinterlegt." + +#: src/fellchensammlung/templates/fellchensammlung/header.html:22 +msgid "Ausloggen" +msgstr "" + +#: src/fellchensammlung/templates/fellchensammlung/header.html:26 +msgid "Registrieren" +msgstr "" + +#: src/fellchensammlung/templates/fellchensammlung/header.html:27 +msgid "Einloggen" +msgstr "" #: src/fellchensammlung/templates/fellchensammlung/header.html:44 msgid "change" diff --git a/src/locale/en/LC_MESSAGES/django.po b/src/locale/en/LC_MESSAGES/django.po index 814d62c..f09399f 100644 --- a/src/locale/en/LC_MESSAGES/django.po +++ b/src/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-12 21:43+0000\n" +"POT-Creation-Date: 2024-04-13 10:44+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,11 +18,11 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: build/lib/notfellchen/settings.py:214 src/notfellchen/settings.py:225 +#: build/lib/notfellchen/settings.py:214 src/notfellchen/settings.py:209 msgid "English" msgstr "" -#: build/lib/notfellchen/settings.py:215 src/notfellchen/settings.py:226 +#: build/lib/notfellchen/settings.py:215 src/notfellchen/settings.py:210 msgid "German" msgstr "" @@ -146,6 +146,10 @@ msgstr "" msgid "Members" msgstr "" +#: src/fellchensammlung/templates/fellchensammlung/about.html:5 +msgid "Regeln" +msgstr "" + #: src/fellchensammlung/templates/fellchensammlung/details/detail-member.html:7 msgid "Username" msgstr "" @@ -158,6 +162,18 @@ msgstr "" msgid "No preferred language set." msgstr "" +#: src/fellchensammlung/templates/fellchensammlung/header.html:22 +msgid "Ausloggen" +msgstr "" + +#: src/fellchensammlung/templates/fellchensammlung/header.html:26 +msgid "Registrieren" +msgstr "" + +#: src/fellchensammlung/templates/fellchensammlung/header.html:27 +msgid "Einloggen" +msgstr "" + #: src/fellchensammlung/templates/fellchensammlung/header.html:44 msgid "change" msgstr ""