Skip to content

Commit

Permalink
Merge pull request #220 from claudep/mark_trans
Browse files Browse the repository at this point in the history
Add missing translatable strings in templates
  • Loading branch information
dokterbob committed Dec 16, 2016
2 parents 323dc20 + 235c3c7 commit 4c5427b
Show file tree
Hide file tree
Showing 15 changed files with 234 additions and 138 deletions.
4 changes: 2 additions & 2 deletions newsletter/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SubscribeRequestForm(NewsletterForm):
subscription.
"""

email_field = forms.EmailField(validators=[validate_email_nouser])
email_field = forms.EmailField(label=_("e-mail"), validators=[validate_email_nouser])

def clean_email_field(self):
data = self.cleaned_data['email_field']
Expand Down Expand Up @@ -73,7 +73,7 @@ class UpdateRequestForm(NewsletterForm):
email being sent.
"""

email_field = forms.EmailField(validators=[validate_email_nouser])
email_field = forms.EmailField(label=_("e-mail"), validators=[validate_email_nouser])

class Meta(NewsletterForm.Meta):
fields = ('email_field',)
Expand Down
Loading

0 comments on commit 4c5427b

Please sign in to comment.