X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/237dc400a6995da6d8a439d4abb173eecbe74a01..6bea6e8c1db99c6ed22cdc010ec2552fd473a649:/apps/suggest/forms.py?ds=sidebyside diff --git a/apps/suggest/forms.py b/apps/suggest/forms.py index 76170e1c6..14cec03f9 100644 --- a/apps/suggest/forms.py +++ b/apps/suggest/forms.py @@ -7,6 +7,8 @@ from django.core.mail import send_mail, mail_managers from django.core.urlresolvers import reverse from django.core.validators import email_re from django.utils.translation import ugettext_lazy as _ +from django.utils.translation import ugettext + from suggest.models import PublishingSuggestion @@ -59,12 +61,13 @@ Audiobooki: }, fail_silently=True) if email_re.match(contact): - send_mail(u'[WolneLektury] ' + _(u'Thank you for your suggestion.'), - _(u"""\ + send_mail(u'[WolneLektury] ' + + ugettext(u'Thank you for your suggestion.'), + ugettext(u"""\ Thank you for your comment on WolneLektury.pl. The suggestion has been referred to the project coordinator.""") + u""" -- -""" + _(u'''Message sent automatically. Please do not reply.'''), +""" + ugettext(u'''Message sent automatically. Please do not reply.'''), 'no-reply@wolnelektury.pl', [contact], fail_silently=True)