main
Jaap Joris Vens 2020-02-20 22:48:35 +01:00
rodzic 84131e05db
commit bf312ed647
3 zmienionych plików z 30 dodań i 96 usunięć

Plik binarny nie jest wyświetlany.

Wyświetl plik

@ -7,8 +7,8 @@ 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-01-13 11:47+0100\n" "POT-Creation-Date: 2020-02-20 22:46+0100\n"
"PO-Revision-Date: 2020-01-13 11:49+0100\n" "PO-Revision-Date: 2020-02-20 22:48+0100\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"
"Language: \n" "Language: \n"
@ -21,31 +21,31 @@ msgstr ""
msgid "Content Management System" msgid "Content Management System"
msgstr "Content Beheer" msgstr "Content Beheer"
#: forms.py:11 #: forms.py:15
msgid "Your email address" msgid "Your email address"
msgstr "Uw email adres" msgstr "Uw email adres"
#: forms.py:12 forms.py:13 #: forms.py:16 forms.py:17
msgid "Your message" msgid "Your message"
msgstr "Uw bericht" msgstr "Uw bericht"
#: forms.py:28 #: forms.py:32
#, python-format #, python-format
msgid "Contact form at %(hostname)s." msgid "Contact form at %(hostname)s."
msgstr "%(hostname)s contactformulier" msgstr "%(hostname)s contactformulier"
#: models.py:63 models.py:89 #: models.py:63 models.py:87
msgid "number" msgid "page"
msgstr "nummer" msgstr "pagina"
#: models.py:64 models.py:91 #: models.py:64
msgid "title"
msgstr "titel"
#: models.py:65
msgid "slug" msgid "slug"
msgstr "slug" msgstr "slug"
#: models.py:65 models.py:90
msgid "number"
msgstr "nummer"
#: models.py:66 #: models.py:66
msgid "visible in menu" msgid "visible in menu"
msgstr "zichtbaar in het menu" msgstr "zichtbaar in het menu"
@ -62,11 +62,11 @@ msgstr "Pagina"
msgid "Pages" msgid "Pages"
msgstr "Paginas" msgstr "Paginas"
#: models.py:87 #: models.py:88 models.py:110
msgid "page" msgid "section"
msgstr "pagina" msgstr "sectie"
#: models.py:88 #: models.py:89
msgid "type" msgid "type"
msgstr "type" msgstr "type"
@ -87,26 +87,18 @@ msgid "Paste a YouTube, Vimeo, or SoundCloud link"
msgstr "Plak hier een YouTube, Vimeo of SoundCloud link" msgstr "Plak hier een YouTube, Vimeo of SoundCloud link"
#: models.py:95 #: models.py:95
msgid "button text" msgid "link"
msgstr "button tekst" msgstr ""
#: models.py:96 #: models.py:102
msgid "button link"
msgstr "button link"
#: models.py:103
msgid "New section" msgid "New section"
msgstr "Nieuwe sectie" msgstr "Nieuwe sectie"
#: models.py:105 #: models.py:104
msgid "Untitled" msgid "Untitled"
msgstr "Geen titel" msgstr "Geen titel"
#: models.py:111 #: models.py:111
msgid "section"
msgstr "sectie"
#: models.py:112
msgid "sections" msgid "sections"
msgstr "secties" msgstr "secties"
@ -114,34 +106,18 @@ msgstr "secties"
msgid "new page" msgid "new page"
msgstr "nieuwe pagina" msgstr "nieuwe pagina"
#: templates/cms/edit.html:16 #: templates/cms/edit.html:4
msgid "Edit"
msgstr "Bewerk"
#: templates/cms/edit.html:20
msgid "Please correct the error(s) below and save again" msgid "Please correct the error(s) below and save again"
msgstr "Herstel a.u.b. de fout(en) hieronder en sla nogmaals op" msgstr "Herstel a.u.b. de fout(en) hieronder en sla nogmaals op"
#: templates/cms/edit.html:46
msgid "new"
msgstr "nieuwe"
#: templates/cms/edit.html:54
msgid "save"
msgstr "opslaan"
#: templates/cms/editlink.html:5
msgid "edit this section"
msgstr "bewerk deze sectie"
#: templates/cms/page.html:15 templates/cms/page.html:17
msgid "edit this page"
msgstr "bewerk deze pagina"
#: templates/cms/page.html:20
msgid "login"
msgstr "inloggen"
#: templates/cms/page.html:28
msgid "new section"
msgstr "nieuwe sectie"
#: templates/registration/login.html:14 templates/registration/login.html:18 #: templates/registration/login.html:14 templates/registration/login.html:18
msgid "Log in" msgid "Log in"
msgstr "Inloggen" msgstr "Inloggen"
#: views.py:191
msgid "You cant save a new page without adding any sections!"
msgstr "Voeg minstens één sectie toe!"

Wyświetl plik

@ -1,42 +0,0 @@
{% extends 'base.html' %}
{% load i18n %}
{% block content %}
<form method="post" class="cms">
{% csrf_token %}
{{form.media}}
<section>
<div class="wrapper">
{% if protected %}
<div class="title">
<h1>You can't do that</h1>
</div>
In order to delete this page, you will first need to delete the following sections:
<ul>
{{protected|unordered_list}}
</ul>
{% else %}
<div class="title">
<h1>Are you sure?</h1>
</div>
The following objects will be deleted:
<ul>
{{deleted|unordered_list}}
</ul>
<form method="post">
{% csrf_token %}
<button name="confirm">{% trans 'delete' %}</button>
</form>
{% endif %}
</div>
</section>
</form>
{% endblock %}