turn off all translations for contact forms (+ update dates)
authorJan Szejko <janek37@gmail.com>
Thu, 13 Jul 2017 13:03:42 +0000 (15:03 +0200)
committerJan Szejko <janek37@gmail.com>
Thu, 13 Jul 2017 13:03:42 +0000 (15:03 +0200)
prawokultury/contact_forms.py
prawokultury/templates/contact/register/form.html

index 013c1f2..4d6b70a 100644 (file)
@@ -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')
index dff155b..8bb88ca 100644 (file)
@@ -31,7 +31,7 @@
         {% for field in form.main_fields %}
           {% include "snippets/field_as_table_row.html" %}
         {% endfor %}
-        <tr><td colspan="2"><h3>{% 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." %}</h3></td></tr>
+        <tr><td colspan="2"><h3>{# {% 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.{# " %} #}</h3></td></tr>
         {% for field in form.survey_fields %}
           {% include "snippets/field_as_table_row.html" %}
         {% endfor %}