Compare commits

..

2 Commits

Author SHA1 Message Date
2d6ee4aef5 Translated place update button. 2020-10-11 00:37:43 +02:00
475a255851 Translated Submit and Create buttons. 2020-10-11 00:26:10 +02:00
5 changed files with 38 additions and 22 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:35+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"
@ -220,7 +228,7 @@ msgstr "Lost Place löschen"
msgid "Are you sure you want to delete" msgid "Are you sure you want to delete"
msgstr "Willst Du den Ort wirklich löschen: " msgstr "Willst Du den Ort wirklich löschen: "
#: templates/place/place_delete.html:18 #: templates/place/place_delete.html:19
#, fuzzy #, fuzzy
#| msgid "Delete place" #| msgid "Delete place"
msgid "Delete" msgid "Delete"
@ -254,6 +262,10 @@ msgstr "Unsere Lost Places"
msgid "Update place" msgid "Update place"
msgstr "Place bearbeiten" msgstr "Place bearbeiten"
#: templates/place/place_update.html:42
msgid "Update"
msgstr "Aktualisieren"
#: templates/place_image/place_image_create.html:7 #: templates/place_image/place_image_create.html:7
msgid "Submit images to a place" msgid "Submit images to a place"
msgstr "Bilder zu einem Place hinzufügen" msgstr "Bilder zu einem Place hinzufügen"

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>

View File

@ -15,6 +15,7 @@
<p class="LP-Paragraph">{% trans 'Are you sure you want to delete' %} "{{place.name}}"?</p> <p class="LP-Paragraph">{% trans 'Are you sure you want to delete' %} "{{place.name}}"?</p>
</div> </div>
</div> </div>
{% trans 'Delete' as action %} {% trans 'Delete' 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 referer=request.META.HTTP_REFERER action=action %} {% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action=action %}

View File

@ -39,8 +39,9 @@
</div> </div>
</div> </div>
{% trans 'Update' 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='Update' %} {% include 'partials/form/submit.html' with referrer=request.META.HTTP_REFERER action=action %}
</div> </div>
</fieldset> </fieldset>