url = wtforms.TextField(
_('Website'),
[wtforms.validators.Optional(),
- wtforms.validators.URL(message="""This address contains errors""")])
+ wtforms.validators.URL(message=_("This address contains errors"))])
class EditAccountForm(wtforms.Form):
[wtforms.validators.Length(min=6, max=30)],
id="password")
wants_comment_notification = wtforms.BooleanField(
- _('Comment notification?'),
- description=_("Check this box to be emailed when someone else comments on your media."))
+ _(''),
+ description=_("Email me when others comment on my media"))
class EditAttachmentsForm(wtforms.Form):