Unverified Commit a01c90c1 authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Fix rendering error in translated meeting strings

Apparently you should not use filters in a blocktrans
parent e42f08ae
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-27 19:15+0200\n"
"PO-Revision-Date: 2016-07-27 19:17+0100\n"
"POT-Creation-Date: 2016-08-11 16:00+0200\n"
"PO-Revision-Date: 2016-08-11 16:02+0100\n"
"Last-Translator: Joost Rijneveld <joost@joostrijneveld.nl>\n"
"Language-Team: \n"
"Language: nl\n"
......@@ -96,8 +96,9 @@ msgstr ""
"is."
#: templates/documents/meetingyear.html:4
msgid "General Meetings of"
msgstr "ALV's van"
#, python-format
msgid "General Meetings of %(year)s-%(nextyear)s:"
msgstr "ALV's van %(year)s-%(nextyear)s:"
#: templates/documents/meetingyear.html:12
msgid "Meeting"
......@@ -113,5 +114,8 @@ msgstr "ALV-stukken zijn alleen in te zien<br>door ingelogde gebruikers."
#: templates/documents/meetingyear.html:53
#, python-format
msgid "There are no General Meetings available for %(year)s-%(year | add:1)s"
msgstr "Er zijn geen ALV's beschikbaar voor %(year)s-%(year | add:1)s"
msgid "There are no General Meetings available for %(year)s-%(nextyear)s"
msgstr "Er zijn geen ALV's beschikbaar van %(year)s-%(nextyear)s"
#~ msgid "General Meetings of"
#~ msgstr "ALV's van"
{% load i18n %}
{% load filename %}
<h2 style="margin-bottom: 0px;">{% trans "General Meetings of" %} {{ year }}-{{ year|add:1 }}:</span></h2>
<h2 style="margin-bottom: 0px;">{% blocktrans with year|add:1 as nextyear %}General Meetings of {{ year }}-{{ nextyear }}:{% endblocktrans %}</span></h2>
{% for meeting in meetings %}
<div class="gw-go gw-go-clearfix gw-go-{% if meetings|length < 3 %}3{% else %}{{ meetings | length }}{% endif %}cols">
......@@ -50,5 +50,5 @@
</div>
</div>
{% empty %}
<div style="text-align:center;margin-top:10px;">{% blocktrans %}There are no General Meetings available for {{ year }}-{{ year | add:1 }}{% endblocktrans %}</div>
<div style="text-align:center;margin-top:10px;">{% blocktrans with year|add:1 as nextyear %}There are no General Meetings available for {{ year }}-{{ nextyear }}{% endblocktrans %}</div>
{% endfor %}
\ No newline at end of file
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