From 2e73cb92d4d71ea3244abb1a130b1317ff985cf4 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Mon, 5 Oct 2020 20:31:13 +0200 Subject: [PATCH] Fixed typo. Added those translations. --- .../lostplaces/locale/de/LC_MESSAGES/django.po | 14 ++++++++++++-- .../lostplaces/templates/place/place_delete.html | 6 +++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po b/django_lostplaces/lostplaces/locale/de/LC_MESSAGES/django.po index 3ecf723..eb18d60 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-04 21:56+0200\n" +"POT-Creation-Date: 2020-10-05 20:26+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -129,7 +129,7 @@ msgid "Edit place" msgstr "Place bearbeiten" #: templates/photo_album/photo_album_create.html:10 -#: templates/place/place_detail.html:19 +#: templates/place/place_delete.html:11 templates/place/place_detail.html:19 msgid "Delete place" msgstr "Place löschen" @@ -137,6 +137,16 @@ msgstr "Place löschen" msgid "Submit a photo album for" msgstr "Fotoalbum hinzufügen für" +#: templates/place/place_delete.html:5 +#, fuzzy +#| msgid "Lost Places" +msgid "Lost Place Deletion" +msgstr "Lost Place löschen" + +#: templates/place/place_delete.html:15 +msgid "Are you sure you want to delete" +msgstr "Willst Du den Ort wirklich löschen: " + #: templates/place/place_detail.html:46 msgid "Map links" msgstr "Kartenlinks" diff --git a/django_lostplaces/lostplaces/templates/place/place_delete.html b/django_lostplaces/lostplaces/templates/place/place_delete.html index 6856a53..909f6e9 100644 --- a/django_lostplaces/lostplaces/templates/place/place_delete.html +++ b/django_lostplaces/lostplaces/templates/place/place_delete.html @@ -2,17 +2,17 @@ {% load static %} {% load i18n %} -{% block title %}{% tranlate 'Lost Place Deletion' %}{% endblock %} +{% block title %}{% translate 'Lost Place Deletion' %}{% endblock %} {% block maincontent %}
- {% tranlate 'Delete place' %} + {% translate 'Delete place' %} {% csrf_token %}
-

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

+

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