Translated Submit and Create buttons.

This commit is contained in:
Marcus Scholz 2020-10-11 00:26:10 +02:00
parent f95c7973d7
commit 475a255851
3 changed files with 30 additions and 20 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:54+0200\n" "POT-Creation-Date: 2020-10-11 00:25+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Commander1024 <commander@commander1024.de>\n" "Last-Translator: Commander1024 <commander@commander1024.de>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -91,8 +91,8 @@ msgstr "Neueste Places erkunden"
#: templates/home_unauth.html:11 #: templates/home_unauth.html:11
msgid "" msgid ""
"You can create, view and share your lost places with other members " "You can create, view and share your lost places with other members of this "
"of this site. You can upload photos, place links to your web galleries and " "site. You can upload photos, place links to your web galleries and "
"contribute your knowledge by tagging other places or commenting on them. You " "contribute your knowledge by tagging other places or commenting on them. You "
"will find detailed information on where these locations are, how to get " "will find detailed information on where these locations are, how to get "
"there and what to expect from them. This might even include detailed " "there and what to expect from them. This might even include detailed "
@ -112,19 +112,27 @@ msgid ""
"Since vandalism is a growing problem these days, no sensitive information is " "Since vandalism is a growing problem these days, no sensitive information is "
"available to the public. You have to <a class=\"LP-Link\" href=" "available to the public. You have to <a class=\"LP-Link\" href="
"\"%(signup_url)s\"><span class=\"LP-Link__Text\">sign up</span></a> with a " "\"%(signup_url)s\"><span class=\"LP-Link__Text\">sign up</span></a> with a "
"voucher code as an invitation to join this community. Only admins can " "voucher code as an invitation to join this community. Only admins can create "
"create these codes. Usually you are given a code when we know you in real " "these codes. Usually you are given a code when we know you in real life in "
"life in person and when we trust you. A request from an unknown person will " "person and when we trust you. A request from an unknown person will most "
"most probably be denied." "probably be denied."
msgstr "" msgstr ""
"Weil Vandalismus dieser Tage ein wachsendes Problem ist, sind keine " "Weil Vandalismus dieser Tage ein wachsendes Problem ist, sind keine "
"sensiblen Informationen öffentlich verfügbar. Du musst Dich mit einem " "sensiblen Informationen öffentlich verfügbar. Du musst Dich mit einem "
"Voucher-Code als Einladung <a class=\"LP-Link\" href=" "Voucher-Code als Einladung <a class=\"LP-Link\" href=\"%(signup_url)s"
"\"%(signup_url)s\"><span class=\"LP-Link__Text\">registrieren</span></a>" "\"><span class=\"LP-Link__Text\">registrieren</span></a>um dieser Community "
"um dieser Community beizutreten. Nur Administratoren können diese Codes " "beizutreten. Nur Administratoren können diese Codes erstellen. Üblicherweise "
"erstellen. Üblicherweise bekommst Du einen Code, wenn wir Dich im echten " "bekommst Du einen Code, wenn wir Dich im echten Leben kennen und Dir "
"Leben kennen und Dir vertrauen. Eine Anfrage von einer unbekannten Person " "vertrauen. Eine Anfrage von einer unbekannten Person wird "
"wird höchstwahrscheinlich abgelehnt." "höchstwahrscheinlich abgelehnt."
#: templates/partials/form/submit.html:3
msgid "Submit"
msgstr "Abschicken"
#: templates/partials/form/submit.html:7
msgid "Cancel"
msgstr "Abbrechen"
#: templates/partials/nav/footer.html:64 #: templates/partials/nav/footer.html:64
msgid "Made by" msgid "Made by"
@ -183,8 +191,6 @@ msgid "We strictly follow our"
msgstr "Bitte lies unseren" msgstr "Bitte lies unseren"
#: templates/partials/welcome.html:18 #: templates/partials/welcome.html:18
#, fuzzy
#| msgid "UrBex Codex"
msgid "UrBex codex" msgid "UrBex codex"
msgstr "UrBex Codex" msgstr "UrBex Codex"
@ -210,9 +216,11 @@ msgstr "Place löschen"
msgid "Submit a photo album for" msgid "Submit a photo album for"
msgstr "Fotoalbum hinzufügen für" msgstr "Fotoalbum hinzufügen für"
#: templates/place/place_create.html:42
msgid "Create"
msgstr "Erstellen"
#: templates/place/place_delete.html:5 #: templates/place/place_delete.html:5
#, fuzzy
#| msgid "Lost Places"
msgid "Lost Place Deletion" msgid "Lost Place Deletion"
msgstr "Lost Place löschen" msgstr "Lost Place löschen"

View File

@ -1,8 +1,9 @@
{% load i18n %}
<div class="LP-Form__Field LP-Form__Button LP-Input"> <div class="LP-Form__Field LP-Form__Button LP-Input">
<button class="LP-Button">{% if action %}{{ action }}{% else %}Submit{% endif %}</button> <button class="LP-Button">{% if action %}{{ action }}{% else %}{% trans 'Submit' %}{% endif %}</button>
</div> </div>
<div class="LP-Form__Field LP-Form__Button LP-Input"> <div class="LP-Form__Field LP-Form__Button LP-Input">
<a class="LP-Link" href="{% if referer %}{{ referer }}{% else %}{% url 'lostplaces_home' %}{% endif %}"> <a class="LP-Link" href="{% if referer %}{{ referer }}{% else %}{% url 'lostplaces_home' %}{% endif %}">
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button> <button type="button" class="LP-Button LP-Button--cancel">{% trans 'Cancel' %}</button>
</a> </a>
</div> </div>

View File

@ -39,8 +39,9 @@
</div> </div>
</div> </div>
{% trans 'Create' as action %}
<div class="LP-Form__Composition LP-Form__Composition--buttons"> <div class="LP-Form__Composition LP-Form__Composition--buttons">
{% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action='Create' %} {% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action=action %}
</div> </div>
</fieldset> </fieldset>