Commit f95b7363 authored by Luko van der Maas's avatar Luko van der Maas
Browse files

Fix code style and add translations

parent 5e33e157
......@@ -5,7 +5,7 @@ from django.contrib.admin import helpers
from django.contrib.admin.views.decorators import staff_member_required
from django.contrib.auth.mixins import PermissionRequiredMixin
from django.http import HttpResponse, HttpResponseRedirect
from django.shortcuts import get_object_or_404
from django.shortcuts import get_object_or_404, redirect
from django.urls import reverse
from django.utils import timezone
from django.utils.decorators import method_decorator
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-05-16 12:15+0200\n"
"PO-Revision-Date: 2019-05-16 12:19+0200\n"
"POT-Creation-Date: 2019-05-22 20:11+0200\n"
"PO-Revision-Date: 2019-05-22 20:13+0200\n"
"Last-Translator: Thom Wiggers <>\n"
"Language-Team: \n"
"Language: nl\n"
......@@ -472,7 +472,7 @@ msgid "Set all registered to paid and present"
msgstr "Zet iedereen op betaald en present"
#: templates/events/admin/details.html
msgid "Send pushnotification to registerd users"
msgid "Send pushnotification to registered users"
msgstr "Stuur pushnotificatie naar participerende gebruikers"
#: templates/events/admin/details.html
......@@ -535,6 +535,10 @@ msgstr ""
msgid "Edit information fields"
msgstr "Wijzig informatie velden"
#: templates/events/admin/message_form.html
msgid "Send message"
msgstr "Stuur pushnotificatie"
#: templates/events/admin/registrations_table.html
msgid "not paid"
msgstr "niet betaald"
......@@ -42,7 +42,7 @@
{% include 'events/admin/registrations_table.html' with registrations=event.participants %}
{% if event.queue.count > 0 %}
<h2>{% trans "waiting"|capfirst %}</h2>
<hregisterd2>{% trans "waiting"|capfirst %}</hregisterd2>
{% trans "queued" as queued %}
{% include 'events/admin/registrations_table.html' with registrations=event.queue verb=queued addlink=False %}
......@@ -55,7 +55,7 @@
<a href="{% url 'admin:events_event_export' %}" class="button">{% trans "Export registrations" %}</a>
<a href="{% url 'admin:events_event_export_email' %}" class="button">{% trans "Export email addresses of attendees" %}</a>
<a href="{% url 'admin:events_event_all_present' %}" class="button">{% trans "Set all registered to paid and present" %}</a>
<a href="{% url 'admin:events_event_message' %}" class="button">{% trans "Send pushnotification to registerd users" %}</a>
<a href="{% url 'admin:events_event_message' %}" class="button">{% trans "Send pushnotification to registered users" %}</a>
{% endblock %}
......@@ -8,6 +8,6 @@
{% block submit_buttons_bottom %}
<div class="submit-row pushnotifications-row">
<input type="submit" value="Send message" class="default button" name="_save" data-_extension-text-contrast="">
<input type="submit" value="{% trans 'Send message' %}" class="default button" name="_save" data-_extension-text-contrast="">
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment