Compare commits

..

No commits in common. "dabec5185fe634f5f814dcb054faf02bece5083e" and "e0a0fa29d2f637ab80d691abcb957d3e407598c8" have entirely different histories.

16 changed files with 63 additions and 167 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-01 21:01+0000\n" "POT-Creation-Date: 2020-10-01 22:09+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,148 +18,60 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: lostplaces/templates/403.html:4 #: templates/403.html:3
msgid "Forbidden" msgid "Forbidden"
msgstr "Nicht Erlaubt" msgstr ""
#: lostplaces/templates/403.html:14 #: templates/403.html:13
msgid "You will be redirected in 5 seconds" msgid "You will be redirected in 5 seconds"
msgstr "Du wirst in 5 Sekunden weiter geleitet" msgstr ""
#: lostplaces/templates/403.html:14 #: templates/403.html:13
msgid "Go Back" msgid "Go Back"
msgstr "Zurück" msgstr ""
#: lostplaces/templates/global.html:32 #: templates/global.html:31
msgid "Logout" msgid "Logout"
msgstr "Abmelden" msgstr ""
#: lostplaces/templates/global.html:34 #: templates/global.html:33
msgid "Admin" msgid "Admin"
msgstr "Admin" msgstr ""
#: lostplaces/templates/global.html:39 #: templates/global.html:38 templates/registration/login.html:4
#: lostplaces/templates/registration/login.html:4 #: templates/registration/login.html:10 templates/registration/login.html:23
#: lostplaces/templates/registration/login.html:10
#: lostplaces/templates/registration/login.html:23
msgid "Login" msgid "Login"
msgstr "Anmelden" msgstr ""
#: lostplaces/templates/global.html:40 #: templates/global.html:39 templates/registration/login.html:29
#: lostplaces/templates/registration/login.html:29 #: templates/signup.html:11 templates/signup.html:40
#: lostplaces/templates/signup.html:12 lostplaces/templates/signup.html:41
msgid "Sign Up" msgid "Sign Up"
msgstr "Registrieren" msgstr ""
#: lostplaces/templates/global.html:50 lostplaces/templates/home.html:10 #: templates/global.html:49 templates/home.html:9
msgid "Home" msgid "Home"
msgstr "Startseite" msgstr ""
#: lostplaces/templates/global.html:51 #: templates/global.html:50
msgid "UrBex Codex" msgid "UrBex Codex"
msgstr "UrBex Codex" msgstr ""
#: lostplaces/templates/global.html:56 #: templates/global.html:55
#: lostplaces/templates/place/place_create.html:4
#: lostplaces/templates/place/place_create.html:9
msgid "Create Place" msgid "Create Place"
msgstr "Place erstellen" msgstr ""
#: lostplaces/templates/global.html:57 #: templates/global.html:56
msgid "All Places" msgid "All Places"
msgstr "Alle Places"
#: lostplaces/templates/home.html:20 lostplaces/templates/home_unauth.html:31
msgid "Explore the latest places"
msgstr "Neusten Places erkunden"
#: lostplaces/templates/partials/welcome.html:2
msgid "Start"
msgstr "" msgstr ""
#: lostplaces/templates/partials/welcome.html:6 #: templates/home.html:19 templates/home_unauth.html:30
msgid "Welcome to our Urban Exploration community catalogue," msgid "Explore the latest locations"
msgstr "" msgstr ""
#: lostplaces/templates/partials/welcome.html:10 #: templates/registration/login.html:29
msgid "explorer"
msgstr ""
#: lostplaces/templates/partials/welcome.html:15
msgid "We strictly follow our"
msgstr "Bitte lies unseren"
#: lostplaces/templates/partials/welcome.html:16
#, fuzzy
#| msgid "UrBex Codex"
msgid "UrBex codex"
msgstr "UrBex Codex"
#: lostplaces/templates/partials/welcome.html:17
msgid "and expect you to do so, too."
msgstr "bevor du Places erkundest"
#: lostplaces/templates/photo_album/photo_album_create.html:3
msgid "Submit a photo album"
msgstr "Fotoalbum hinzufügen"
#: lostplaces/templates/photo_album/photo_album_create.html:7
#: lostplaces/templates/place/place_detail.html:17
msgid "Edit place"
msgstr "Place bearbeiten"
#: lostplaces/templates/photo_album/photo_album_create.html:9
#: lostplaces/templates/place/place_detail.html:18
#, fuzzy
#| msgid "Create Place"
msgid "Delete place"
msgstr "Place erstellen"
#: lostplaces/templates/photo_album/photo_album_create.html:15
msgid "Submit a photo album for"
msgstr "Fotoalbum hinzufügen für"
#: lostplaces/templates/place/place_detail.html:45
msgid "Map links"
msgstr "Kartenlinks"
#: lostplaces/templates/place/place_detail.html:57
msgid "Photo albums"
msgstr "Fotoalben"
#: lostplaces/templates/place/place_detail.html:83
msgid "Add photo album"
msgstr "Fotoalbum hinzufügen"
#: lostplaces/templates/place/place_detail.html:92
msgid "Images"
msgstr "Bilder"
#: lostplaces/templates/place/place_list.html:9
#, fuzzy
#| msgid "All Places"
msgid "Lost Places"
msgstr "Alle Places"
#: lostplaces/templates/place/place_list.html:15
msgid "Listing our places"
msgstr "Alle Places wie wir kennen"
#: lostplaces/templates/place/place_update.html:4
#: lostplaces/templates/place/place_update.html:9
#, fuzzy
#| msgid "Create Place"
msgid "Update place"
msgstr "Place erstellen"
#: lostplaces/templates/place_image/place_image_create.html:6
msgid "Submit images to a place"
msgstr "Bilder zu einem Place hinzufügen"
#: lostplaces/templates/registration/login.html:29
msgid "Have No Account Yet?" msgid "Have No Account Yet?"
msgstr "Noch kein Konto?" msgstr ""
#: lostplaces/templates/signup.html:6 #: templates/signup.html:5
msgid "Sign up" msgid "Sign up"
msgstr "Registrieren" msgstr ""

View File

@ -1,5 +1,4 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load i18n %}
{% block title %}{% translate 'Forbidden' %}{% endblock %} {% block title %}{% translate 'Forbidden' %}{% endblock %}

View File

@ -1,5 +1,4 @@
{% load static %} {% load static %}
{% load i18n %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
@ -47,7 +46,7 @@
<aside class="LP-Main__Sidebar"> <aside class="LP-Main__Sidebar">
<nav class="LP-Menu LP-Menu--sidebar"> <nav class="LP-Menu LP-Menu--sidebar">
<ul class="LP-Menu__List"> <ul class="LP-Menu__List">
<li class="LP-Menu__Item"><a href="{% url 'lostplaces_home' %}" class="LP-Link"><span class="LP-Link__Text">{% translate 'Home' %}</span></a></li> <li class="LP-Menu__Item"><a href="{% url 'lostplaces_home' %}" class="LP-Link"><span class="LP-Link__Text">{% translate 'Home' %}}</span></a></li>
<li class="LP-Menu__Item"><a href="{% url 'flatpage' slug='codex' %}" class="LP-Link"><span class="LP-Link__Text">{% translate 'UrBex Codex' %}</span></a></li> <li class="LP-Menu__Item"><a href="{% url 'flatpage' slug='codex' %}" class="LP-Link"><span class="LP-Link__Text">{% translate 'UrBex Codex' %}</span></a></li>
{% block additional_menu_items %} {% block additional_menu_items %}

View File

@ -1,7 +1,6 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% block additional_head %} {% block additional_head %}
<link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css"> <link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css">
<script src="{% static 'maps/ol.js' %}"></script> <script src="{% static 'maps/ol.js' %}"></script>
@ -17,7 +16,7 @@
{% include 'partials/osm_map.html' with config=mapping_config %} {% include 'partials/osm_map.html' with config=mapping_config %}
<div class="LP-PlaceGrid"> <div class="LP-PlaceGrid">
<h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest places' %}</h1> <h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest locations' %}</h1>
<ul class="LP-PlaceGrid__Grid"> <ul class="LP-PlaceGrid__Grid">
{% for place in place_list %} {% for place in place_list %}
<li class="LP-PlaceGrid__Item"> <li class="LP-PlaceGrid__Item">

View File

@ -1,5 +1,4 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load i18n %}
# {% block title %}Start{% endblock %} # {% block title %}Start{% endblock %}
@ -28,7 +27,7 @@
</article> </article>
<div class="LP-PlaceGrid"> <div class="LP-PlaceGrid">
<h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest places' %}</h1> <h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest locations' %}</h1>
<ul class="LP-PlaceGrid__Grid"> <ul class="LP-PlaceGrid__Grid">
{% for place in place_list %} {% for place in place_list %}
<li class="LP-PlaceGrid__Item"> <li class="LP-PlaceGrid__Item">

View File

@ -1,5 +1,3 @@
{% load i18n %}
<div class="LP-TagList"> <div class="LP-TagList">
<ul class="LP-TagList__List"> <ul class="LP-TagList__List">
{% for tag in config.tagged_item.tags.all %} {% for tag in config.tagged_item.tags.all %}
@ -27,11 +25,11 @@
<form id="id_tag_submit_form" class="LP-Form LP-Form--inline LP-Form--tagging" method="POST" action="{% url config.submit_url_name tagged_id=config.tagged_item.id%}"> <form id="id_tag_submit_form" class="LP-Form LP-Form--inline LP-Form--tagging" method="POST" action="{% url config.submit_url_name tagged_id=config.tagged_item.id%}">
<fieldset class="LP-Form__Fieldset"> <fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% translate 'Add tags' %}</legend> <legend class="LP-Form__Legend">Tags hinzufügen</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable"> <div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field LP-Form__Button LP-Input LP-Input--tagging"> <div class="LP-Form__Field LP-Form__Button LP-Input LP-Input--tagging">
<button id="id_tag_submit_button" class="LP-Button">{% translate 'Add tags' %}</button> <button id="id_tag_submit_button" class="LP-Button"> Tags hinzufügen</button>
</div> </div>
<div class="LP-Form__Field"> <div class="LP-Form__Field">
{% include 'partials/form/inputField.html' with field=config.submit_form.tag_list classes="LP-Input--tagging" %} {% include 'partials/form/inputField.html' with field=config.submit_form.tag_list classes="LP-Input--tagging" %}

View File

@ -1,21 +1,19 @@
{% load i18n %}
<header class="LP-TextSection__Headline"> <header class="LP-TextSection__Headline">
<h1 class="LP-Headline">{% translate 'Start' %}</h1> <h1 class="LP-Headline">Start</h1>
</header> </header>
<div class="LP-TextSection__Text"> <div class="LP-TextSection__Text">
<p class="LP-Paragraph">{% translate 'Welcome to our Urban Exploration community catalogue,' %} <p class="LP-Paragraph">Welcome to our Urban Exploration community catalogue,
{% if user.is_authenticated %} {% if user.is_authenticated %}
{{ user.username }} {{ user.username }}
{% else %} {% else %}
{% translate 'explorer' %} explorer
{% endif %} {% endif %}
! !
</p> </p>
<p class="LP-Paragraph"> <p class="LP-Paragraph">
{% translate 'We strictly follow our' %} We strictly follow our
<a class="LP-Link" href="{% url 'flatpage' slug='codex' %}"><span class="LP-Link__Text">{% translate 'UrBex codex' %}</span></a> <a class="LP-Link" href="{% url 'flatpage' slug='codex' %}"><span class="LP-Link__Text">UrBex codex</span></a>
{% translate 'and expect you to do so, too.' %}' and expect you to do so, too.
</p> </p>
</div> </div>

View File

@ -1,19 +1,18 @@
{% load i18n %}
{% extends 'global.html'%} {% extends 'global.html'%}
{% block title %}{% translate 'Submit a photo album' %}{% endblock %} {% block title %}Submit a photo album{% endblock %}
{% block additional_menu_items %} {% block additional_menu_items %}
<li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_edit' pk=place.pk %}" class="LP-Link"><span <li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_edit' pk=place.pk %}" class="LP-Link"><span
class="LP-Link__Text">{% translate 'Edit place' %}</span></a></li> class="LP-Link__Text">Edit place</span></a></li>
<li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_delete' pk=place.pk %}" class="LP-Link"><span <li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_delete' pk=place.pk %}" class="LP-Link"><span
class="LP-Link__Text">{% translate 'Delete place' %}</span></a></li> class="LP-Link__Text">Delete place</span></a></li>
{% endblock additional_menu_items %} {% endblock additional_menu_items %}
{% block maincontent %} {% block maincontent %}
<form class="LP-Form" method="POST"> <form class="LP-Form" method="POST">
<fieldset class="LP-Form__Fieldset"> <fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% translate 'Submit a photo album for' %}% {{place.name}}</legend> <legend class="LP-Form__Legend">Submit a photo album for {{place.name}}</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">
<div class="LP-Form__Field"> <div class="LP-Form__Field">

View File

@ -1,13 +1,12 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
# {% block title %}{% translate 'Create Place' %}{% endblock %} # {% block title %}Place erstellen{% endblock %}
{% block maincontent %} {% block maincontent %}
<form class="LP-Form" method="POST" enctype="multipart/form-data"> <form class="LP-Form" method="POST" enctype="multipart/form-data">
<fieldset class="LP-Form__Fieldset"> <fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% translate 'Create Place' %}</legend> <legend class="LP-Form__Legend">Create Place</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable"> <div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field"> <div class="LP-Form__Field">

View File

@ -1,18 +1,17 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% block title %}{% tranlate 'Lost Place Deletion' %}{% endblock %} {% block title %}Lost Place Deletion{% endblock %}
{% block maincontent %} {% block maincontent %}
<form class="LP-Form" method="POST"> <form class="LP-Form" method="POST">
<fieldset class="LP-Form__Fieldset"> <fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% tranlate 'Delete place' %}</legend> <legend class="LP-Form__Legend">Delete place</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">
<div class="LP-Form__Field LP-Form__InfoText"> <div class="LP-Form__Field LP-Form__InfoText">
<p class="LP-Paragraph">{% tranlate 'Are you sure you want to delete' %} "{{place.name}}"?</p> <p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"? </p>
</div> </div>
</div> </div>

View File

@ -1,7 +1,6 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %}
{% load i18n %}
{% load static %}
{% load thumbnail %} {% load thumbnail %}
{% load svg_icon %} {% load svg_icon %}
@ -15,8 +14,8 @@
{% block title %}{{place.name}}{% endblock %} {% block title %}{{place.name}}{% endblock %}
{% block additional_menu_items %} {% block additional_menu_items %}
<li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_edit' pk=place.pk %}" class="LP-Link"><span class="LP-Link__Text">{% translate 'Edit place' %}</span></a></li> <li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_edit' pk=place.pk %}" class="LP-Link"><span class="LP-Link__Text">Edit place</span></a></li>
<li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_delete' pk=place.pk %}" class="LP-Link"><span class="LP-Link__Text">{% translate 'Delete place' %}</span></a></li> <li class="LP-Menu__Item LP-Menu__Item--additional"><a href="{% url 'place_delete' pk=place.pk %}" class="LP-Link"><span class="LP-Link__Text">Delete place</span></a></li>
{% endblock additional_menu_items %} {% endblock additional_menu_items %}
{% block maincontent %} {% block maincontent %}
@ -43,7 +42,7 @@
</section> </section>
<section class="LP-Section"> <section class="LP-Section">
<h1 class="LP-Headline">{% translate 'Map links' %}</h1> <h1 class="LP-Headline">Map links</h1>
{% include 'partials/osm_map.html' with config=mapping_config%} {% include 'partials/osm_map.html' with config=mapping_config%}
<div class="LP-LinkList"> <div class="LP-LinkList">
<ul class="LP-LinkList__Container"> <ul class="LP-LinkList__Container">
@ -55,7 +54,7 @@
</section> </section>
<section class=" LP-Section"> <section class=" LP-Section">
<h1 class="LP-Headline">{% translate 'Photo albums' %}</h1> <h1 class="LP-Headline">Photo albums</h1>
<div class="LP-LinkList"> <div class="LP-LinkList">
<ul class="LP-LinkList__Container"> <ul class="LP-LinkList__Container">
{% for photo_album in place.photoalbums.all %} {% for photo_album in place.photoalbums.all %}
@ -81,7 +80,7 @@
v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512,244.954,503.046,236,492,236z" /> v216c0,11.046,8.954,20,20,20s20-8.954,20-20V276h216c11.046,0,20-8.954,20-20C512,244.954,503.046,236,492,236z" />
</g> </g>
</svg> </svg>
<span class="RV-Iconized__Text">{% translate 'Add photo album' %}</span> <span class="RV-Iconized__Text">Fotoalbum hinzufügen</span>
</div> </div>
</a> </a>
</li> </li>
@ -90,7 +89,7 @@
</section> </section>
<section class="LP-Section"> <section class="LP-Section">
<h1 class="LP-Headline">{% translate 'Images' %}</h1> <h1 class="LP-Headline">Images</h1>
<div class="LP-ImageGrid"> <div class="LP-ImageGrid">
<ul class="LP-ImageGrid__Container"> <ul class="LP-ImageGrid__Container">
{% for place_image in place.placeimages.all %} {% for place_image in place.placeimages.all %}

View File

@ -1,19 +1,18 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% block additional_head %} {% block additional_head %}
<link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css"> <link rel="stylesheet" href="{% static 'maps/ol.css' %}" type="text/css">
<script src="{% static 'maps/ol.js' %}"></script> <script src="{% static 'maps/ol.js' %}"></script>
{% endblock additional_head %} {% endblock additional_head %}
{% block title %}{% translate 'Lost Places' %}{% endblock %} {% block title %}Lost Places{% endblock %}
{% block maincontent %} {% block maincontent %}
{% include 'partials/osm_map.html' with config=mapping_config %} {% include 'partials/osm_map.html' with config=mapping_config %}
<div class="LP-PlaceList"> <div class="LP-PlaceList">
<h1 class="LP-Headline">{% translate 'Listing our places' %}</h1> <h1 class="LP-Headline">Listing our places</h1>
<ul class="LP-PlaceList__List"> <ul class="LP-PlaceList__List">
{% for place in place_list %} {% for place in place_list %}
<li class="LP-PlaceList__Item"> <li class="LP-PlaceList__Item">

View File

@ -1,13 +1,12 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
# {% block title %}{% translate 'Update place' %}{% endblock %} # {% block title %}Update place{% endblock %}
{% block maincontent %} {% block maincontent %}
<form class="LP-Form" method="POST" enctype="multipart/form-data"> <form class="LP-Form" method="POST" enctype="multipart/form-data">
<fieldset class="LP-Form__Fieldset"> <fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% translate 'Update place' %}</legend> <legend class="LP-Form__Legend">Update place</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable"> <div class="LP-Form__Composition LP-Form__Composition--breakable">
<div class="LP-Form__Field"> <div class="LP-Form__Field">

View File

@ -1,10 +1,9 @@
{% load i18n %}
{% extends 'global.html'%} {% extends 'global.html'%}
{% block maincontent %} {% block maincontent %}
<form class="LP-Form" method="POST" enctype="multipart/form-data"> <form class="LP-Form" method="POST" enctype="multipart/form-data">
<fieldset class="LP-Form__Fieldset"> <fieldset class="LP-Form__Fieldset">
<legend class="LP-Form__Legend">{% translate 'Submit images to a place' %}</legend> <legend class="LP-Form__Legend">Submit images to an place</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">

View File

@ -1,6 +1,6 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
# {% block title %}{% translate 'Login' %}{% endblock %} # {% block title %}{% translate 'Login' %}{% endblock %}
{% block maincontent %} {% block maincontent %}

View File

@ -1,6 +1,5 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% load widget_tweaks %} {% load widget_tweaks %}
# {% block title %}{% translate 'Sign up' %}{% endblock %} # {% block title %}{% translate 'Sign up' %}{% endblock %}