From d3d63097db979887179dc005df5cf1bb21cb5af8 Mon Sep 17 00:00:00 2001 From: heinzel Date: Wed, 16 Dec 2020 10:32:12 +0100 Subject: [PATCH] FIX f016f4af41aa55b120385ace38d243b74e31593f (python2 encoding error) --- dav_registration/forms.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dav_registration/forms.py b/dav_registration/forms.py index 952813a..2b10316 100644 --- a/dav_registration/forms.py +++ b/dav_registration/forms.py @@ -11,13 +11,13 @@ logger = logging.getLogger(__name__) class RegistrationForm(forms.ModelForm): not_dav_member = forms.BooleanField(required=False, - label=_('Ich bin noch kein DAV Mitglied.'), - help_text='%s
\n%s' % ( - _('Wenn du noch kein DAV Mitglied bist,' - ' oder deine Aufnahme noch in Arbeit ist,' - ' kreuze dieses Feld hier an.'), - _('Spätestens zu Veranstaltungsbeginn muss' - ' jedoch eine Mitgliedschaft bestehen.') + label=_(u'Ich bin noch kein DAV Mitglied.'), + help_text=u'%s
\n%s' % ( + _(u'Wenn du noch kein DAV Mitglied bist,' + u' oder deine Aufnahme noch in Arbeit ist,' + u' kreuze dieses Feld hier an.'), + _(u'Spätestens zu Veranstaltungsbeginn muss' + u' jedoch eine Mitgliedschaft bestehen.') )) class Meta: @@ -30,7 +30,7 @@ class RegistrationForm(forms.ModelForm): 'note': forms.Textarea(attrs={'rows': 5}), } labels = { - 'apply_reduced_fee': _('Ich bin noch keine 25 Jahre alt oder besitze einen "Karlsruher Pass".'), + 'apply_reduced_fee': _(u'Ich bin noch keine 25 Jahre alt oder besitze einen "Karlsruher Pass".'), } def clean_year_of_birth(self):