Compare commits

...

6 Commits

16 changed files with 167 additions and 63 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 22:09+0200\n" "POT-Creation-Date: 2020-10-01 21:01+0000\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,60 +18,148 @@ 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"
#: templates/403.html:3 #: lostplaces/templates/403.html:4
msgid "Forbidden" msgid "Forbidden"
msgstr "" msgstr "Nicht Erlaubt"
#: templates/403.html:13 #: lostplaces/templates/403.html:14
msgid "You will be redirected in 5 seconds" msgid "You will be redirected in 5 seconds"
msgstr "" msgstr "Du wirst in 5 Sekunden weiter geleitet"
#: templates/403.html:13 #: lostplaces/templates/403.html:14
msgid "Go Back" msgid "Go Back"
msgstr "" msgstr "Zurück"
#: templates/global.html:31 #: lostplaces/templates/global.html:32
msgid "Logout" msgid "Logout"
msgstr "" msgstr "Abmelden"
#: templates/global.html:33 #: lostplaces/templates/global.html:34
msgid "Admin" msgid "Admin"
msgstr "" msgstr "Admin"
#: templates/global.html:38 templates/registration/login.html:4 #: lostplaces/templates/global.html:39
#: templates/registration/login.html:10 templates/registration/login.html:23 #: lostplaces/templates/registration/login.html:4
#: lostplaces/templates/registration/login.html:10
#: lostplaces/templates/registration/login.html:23
msgid "Login" msgid "Login"
msgstr "" msgstr "Anmelden"
#: templates/global.html:39 templates/registration/login.html:29 #: lostplaces/templates/global.html:40
#: templates/signup.html:11 templates/signup.html:40 #: lostplaces/templates/registration/login.html:29
#: lostplaces/templates/signup.html:12 lostplaces/templates/signup.html:41
msgid "Sign Up" msgid "Sign Up"
msgstr "" msgstr "Registrieren"
#: templates/global.html:49 templates/home.html:9 #: lostplaces/templates/global.html:50 lostplaces/templates/home.html:10
msgid "Home" msgid "Home"
msgstr "" msgstr "Startseite"
#: templates/global.html:50 #: lostplaces/templates/global.html:51
msgid "UrBex Codex" msgid "UrBex Codex"
msgstr "" msgstr "UrBex Codex"
#: templates/global.html:55 #: lostplaces/templates/global.html:56
#: lostplaces/templates/place/place_create.html:4
#: lostplaces/templates/place/place_create.html:9
msgid "Create Place" msgid "Create Place"
msgstr "" msgstr "Place erstellen"
#: templates/global.html:56 #: lostplaces/templates/global.html:57
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 ""
#: templates/home.html:19 templates/home_unauth.html:30 #: lostplaces/templates/partials/welcome.html:6
msgid "Explore the latest locations" msgid "Welcome to our Urban Exploration community catalogue,"
msgstr "" msgstr ""
#: templates/registration/login.html:29 #: lostplaces/templates/partials/welcome.html:10
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 "" msgstr "Noch kein Konto?"
#: templates/signup.html:5 #: lostplaces/templates/signup.html:6
msgid "Sign up" msgid "Sign up"
msgstr "" msgstr "Registrieren"

View File

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

View File

@ -1,4 +1,5 @@
{% load static %} {% load static %}
{% load i18n %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
@ -46,7 +47,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,6 +1,7 @@
{% 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>
@ -16,7 +17,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 locations' %}</h1> <h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest places' %}</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,4 +1,5 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load i18n %}
# {% block title %}Start{% endblock %} # {% block title %}Start{% endblock %}
@ -27,7 +28,7 @@
</article> </article>
<div class="LP-PlaceGrid"> <div class="LP-PlaceGrid">
<h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest locations' %}</h1> <h1 class="LP-Headline LP-Headline">{% translate 'Explore the latest places' %}</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,3 +1,5 @@
{% 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 %}
@ -25,11 +27,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">Tags hinzufügen</legend> <legend class="LP-Form__Legend">{% translate 'Add tags' %}</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"> Tags hinzufügen</button> <button id="id_tag_submit_button" class="LP-Button">{% translate 'Add tags' %}</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,19 +1,21 @@
{% load i18n %}
<header class="LP-TextSection__Headline"> <header class="LP-TextSection__Headline">
<h1 class="LP-Headline">Start</h1> <h1 class="LP-Headline">{% translate 'Start' %}</h1>
</header> </header>
<div class="LP-TextSection__Text"> <div class="LP-TextSection__Text">
<p class="LP-Paragraph">Welcome to our Urban Exploration community catalogue, <p class="LP-Paragraph">{% translate 'Welcome to our Urban Exploration community catalogue,' %}
{% if user.is_authenticated %} {% if user.is_authenticated %}
{{ user.username }} {{ user.username }}
{% else %} {% else %}
explorer {% translate 'explorer' %}
{% endif %} {% endif %}
! !
</p> </p>
<p class="LP-Paragraph"> <p class="LP-Paragraph">
We strictly follow our {% translate 'We strictly follow our' %}
<a class="LP-Link" href="{% url 'flatpage' slug='codex' %}"><span class="LP-Link__Text">UrBex codex</span></a> <a class="LP-Link" href="{% url 'flatpage' slug='codex' %}"><span class="LP-Link__Text">{% translate 'UrBex codex' %}</span></a>
and expect you to do so, too. {% translate 'and expect you to do so, too.' %}'
</p> </p>
</div> </div>

View File

@ -1,18 +1,19 @@
{% load i18n %}
{% extends 'global.html'%} {% extends 'global.html'%}
{% block title %}Submit a photo album{% endblock %} {% block title %}{% translate '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">Edit place</span></a></li> class="LP-Link__Text">{% translate '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">Delete place</span></a></li> class="LP-Link__Text">{% translate '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">Submit a photo album for {{place.name}}</legend> <legend class="LP-Form__Legend">{% translate '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,12 +1,13 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
# {% block title %}Place erstellen{% endblock %} # {% block title %}{% translate 'Create 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">Create Place</legend> <legend class="LP-Form__Legend">{% translate '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,17 +1,18 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% block title %}Lost Place Deletion{% endblock %} {% block title %}{% tranlate '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">Delete place</legend> <legend class="LP-Form__Legend">{% tranlate '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">Are you sure you want to delete "{{place.name}}"? </p> <p class="LP-Paragraph">{% tranlate 'Are you sure you want to delete' %} "{{place.name}}"?</p>
</div> </div>
</div> </div>

View File

@ -1,6 +1,7 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
{% load thumbnail %} {% load thumbnail %}
{% load svg_icon %} {% load svg_icon %}
@ -14,8 +15,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">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">{% translate '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">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">{% translate 'Delete place' %}</span></a></li>
{% endblock additional_menu_items %} {% endblock additional_menu_items %}
{% block maincontent %} {% block maincontent %}
@ -42,7 +43,7 @@
</section> </section>
<section class="LP-Section"> <section class="LP-Section">
<h1 class="LP-Headline">Map links</h1> <h1 class="LP-Headline">{% translate '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">
@ -54,7 +55,7 @@
</section> </section>
<section class=" LP-Section"> <section class=" LP-Section">
<h1 class="LP-Headline">Photo albums</h1> <h1 class="LP-Headline">{% translate '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 %}
@ -80,7 +81,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">Fotoalbum hinzufügen</span> <span class="RV-Iconized__Text">{% translate 'Add photo album' %}</span>
</div> </div>
</a> </a>
</li> </li>
@ -89,7 +90,7 @@
</section> </section>
<section class="LP-Section"> <section class="LP-Section">
<h1 class="LP-Headline">Images</h1> <h1 class="LP-Headline">{% translate '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,18 +1,19 @@
{% 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 %}Lost Places{% endblock %} {% block title %}{% translate '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">Listing our places</h1> <h1 class="LP-Headline">{% translate '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,12 +1,13 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% load static %} {% load static %}
{% load i18n %}
# {% block title %}Update place{% endblock %} # {% block title %}{% translate '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">Update place</legend> <legend class="LP-Form__Legend">{% translate '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,9 +1,10 @@
{% 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">Submit images to an place</legend> <legend class="LP-Form__Legend">{% translate 'Submit images to a 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,5 +1,6 @@
{% 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 %}