From: Jan Szejko Date: Thu, 13 Jul 2017 13:03:42 +0000 (+0200) Subject: turn off all translations for contact forms (+ update dates) X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/ba0a826e670e155e04488502647c5fa94311c70b?ds=inline turn off all translations for contact forms (+ update dates) --- diff --git a/prawokultury/contact_forms.py b/prawokultury/contact_forms.py index 013c1f2..4d6b70a 100644 --- a/prawokultury/contact_forms.py +++ b/prawokultury/contact_forms.py @@ -7,7 +7,7 @@ from contact.forms import ContactForm from contact.models import Contact from contact.fields import HeaderField from django.utils.functional import lazy -from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import ugettext_noop as _ from django.utils.safestring import mark_safe from migdal.models import Entry @@ -36,8 +36,8 @@ class RegistrationForm(ContactForm): label=_("I'm planning to show up on"), choices=[ ('both', _('Both days of the conference')), - ('only-27th', _('October 27th only')), - ('only-28th', _('October 28th only')), + ('only-28th', _('September 28th only')), + ('only-29th', _('September 29th only')), ], widget=forms.RadioSelect()) # ankieta @@ -179,7 +179,6 @@ tracks = ( class RegisterSpeaker(RegistrationForm): - from django.utils.translation import ugettext_noop as _ form_tag = 'register-speaker' save_as_tag = '2017-speaker' form_title = _('Open call for presentations') diff --git a/prawokultury/templates/contact/register/form.html b/prawokultury/templates/contact/register/form.html index dff155b..8bb88ca 100644 --- a/prawokultury/templates/contact/register/form.html +++ b/prawokultury/templates/contact/register/form.html @@ -31,7 +31,7 @@ {% for field in form.main_fields %} {% include "snippets/field_as_table_row.html" %} {% endfor %} -

{% trans "We would be grateful if you could answer our questions below. This will allow us to better adapt to your expectations in the future." %}

+

{# {% trans " #}We would be grateful if you could answer our questions below. This will allow us to better adapt to your expectations in the future.{# " %} #}

{% for field in form.survey_fields %} {% include "snippets/field_as_table_row.html" %} {% endfor %}