From 2d6ee4aef51af318e57a5e7e6046957ea82a756f Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Sun, 11 Oct 2020 00:37:43 +0200 Subject: [PATCH] Translated place update button. --- .../lostplaces/locale/de/LC_MESSAGES/django.po | 8 ++++++-- .../lostplaces/templates/place/place_delete.html | 1 + .../lostplaces/templates/place/place_update.html | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po b/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po index 988a5c0..af2c8ee 100644 --- a/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po +++ b/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-10-11 00:25+0200\n" +"POT-Creation-Date: 2020-10-11 00:35+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Commander1024 \n" "Language-Team: LANGUAGE \n" @@ -228,7 +228,7 @@ msgstr "Lost Place löschen" msgid "Are you sure you want to delete" msgstr "Willst Du den Ort wirklich löschen: " -#: templates/place/place_delete.html:18 +#: templates/place/place_delete.html:19 #, fuzzy #| msgid "Delete place" msgid "Delete" @@ -262,6 +262,10 @@ msgstr "Unsere Lost Places" msgid "Update place" msgstr "Place bearbeiten" +#: templates/place/place_update.html:42 +msgid "Update" +msgstr "Aktualisieren" + #: templates/place_image/place_image_create.html:7 msgid "Submit images to a place" msgstr "Bilder zu einem Place hinzufügen" diff --git a/django_lostplaces/lostplaces/templates/place/place_delete.html b/django_lostplaces/lostplaces/templates/place/place_delete.html index b26fd8f..7b79451 100644 --- a/django_lostplaces/lostplaces/templates/place/place_delete.html +++ b/django_lostplaces/lostplaces/templates/place/place_delete.html @@ -15,6 +15,7 @@

{% trans 'Are you sure you want to delete' %} "{{place.name}}"?

+ {% trans 'Delete' as action %}
{% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action=action %} diff --git a/django_lostplaces/lostplaces/templates/place/place_update.html b/django_lostplaces/lostplaces/templates/place/place_update.html index 41e4a78..f061a0e 100644 --- a/django_lostplaces/lostplaces/templates/place/place_update.html +++ b/django_lostplaces/lostplaces/templates/place/place_update.html @@ -39,8 +39,9 @@
+ {% trans 'Update' as action %}
- {% 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 %}