# HG changeset patch # User ymh # Date 1445947382 -3600 # Node ID b8d3784be28d06db40474baa4cafc1d72dc101c7 # Parent 1b5ed8af1aa01dc5b83d5bc2bb8ebb1bf98cceb6 add message to look into spam folder for activation email diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdabo/forms.py --- a/src/hdabo/forms.py Mon Oct 26 22:54:26 2015 +0100 +++ b/src/hdabo/forms.py Tue Oct 27 13:03:02 2015 +0100 @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- from django import forms from django.db.models.query import QuerySet +from django.utils.translation import ugettext_lazy as _ from registration.forms import RegistrationFormUniqueEmail @@ -16,3 +17,7 @@ class HdaboRegistrationForm(RegistrationFormUniqueEmail): error_css_class = "registration-error" + + def __init__(self, *args, **kwargs): + super(HdaboRegistrationForm, self).__init__(*args, **kwargs) + self.fields['email'].help_text = _("email help text") diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/de/LC_MESSAGES/django.mo Binary file src/hdalab/locale/de/LC_MESSAGES/django.mo has changed diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/de/LC_MESSAGES/django.po --- a/src/hdalab/locale/de/LC_MESSAGES/django.po Mon Oct 26 22:54:26 2015 +0100 +++ b/src/hdalab/locale/de/LC_MESSAGES/django.po Tue Oct 27 13:03:02 2015 +0100 @@ -17,6 +17,12 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" +#: forms.py:23 +msgid "email help text" +msgstr "" +"Email for the activation message. Please check your SPAM folder in case you " +"do not receive the message." + #: models/renkan.py:32 msgid "edition_state" msgstr "" diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/en/LC_MESSAGES/django.mo Binary file src/hdalab/locale/en/LC_MESSAGES/django.mo has changed diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/en/LC_MESSAGES/django.po --- a/src/hdalab/locale/en/LC_MESSAGES/django.po Mon Oct 26 22:54:26 2015 +0100 +++ b/src/hdalab/locale/en/LC_MESSAGES/django.po Tue Oct 27 13:03:02 2015 +0100 @@ -17,6 +17,12 @@ "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.0-mac-beta-1\n" +#: forms.py:23 +msgid "email help text" +msgstr "" +"Email for the activation message. Please check your SPAM folder in case you " +"do not receive the message." + #: models/renkan.py:32 msgid "edition_state" msgstr "edition" @@ -919,9 +925,13 @@ msgid "Password reset - Done" msgstr "Password reset - Done" -#: templates/registration/password_reset_done.html:14 +#: templates/registration/password_reset_done.html:6 msgid "Email with password reset instructions has been sent." -msgstr "Email with password reset instructions has been sent." +msgstr "" +"Email with password reset instructions has been sent.
\n" +"If you do not receive the reset message within a few minutes, please check " +"your Junk E-mail folder just in case the reset email got delivered there " +"instead of your inbox." #: templates/registration/password_reset_form.html:5 msgid "Password reset" @@ -935,9 +945,14 @@ msgid "Email du compte:" msgstr "Account email:" -#: templates/registration/registration_complete.html:14 +#: templates/registration/registration_complete.html:6 msgid "You are now registered. Activation email sent." -msgstr "You are now registered. Activation email sent." +msgstr "" +"You are now registered.
\n" +"The activation email has been sent.
\n" +"If you do not receive the confirmation message within a few minutes of " +"signing up, please check your Junk/spam E-mail folder just in case the " +"confirmation email got delivered there instead of your inbox." #: templates/registration/registration_form.html:5 msgid "Registration" diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/es/LC_MESSAGES/django.mo Binary file src/hdalab/locale/es/LC_MESSAGES/django.mo has changed diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/es/LC_MESSAGES/django.po --- a/src/hdalab/locale/es/LC_MESSAGES/django.po Mon Oct 26 22:54:26 2015 +0100 +++ b/src/hdalab/locale/es/LC_MESSAGES/django.po Tue Oct 27 13:03:02 2015 +0100 @@ -17,6 +17,12 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1)\n" +#: forms.py:23 +msgid "email help text" +msgstr "" +"Email for the activation message. Please check your SPAM folder in case you " +"do not receive the message." + #: models/renkan.py:32 msgid "edition_state" msgstr "estado_edición" diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/fr/LC_MESSAGES/django.mo Binary file src/hdalab/locale/fr/LC_MESSAGES/django.mo has changed diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/fr/LC_MESSAGES/django.po --- a/src/hdalab/locale/fr/LC_MESSAGES/django.po Mon Oct 26 22:54:26 2015 +0100 +++ b/src/hdalab/locale/fr/LC_MESSAGES/django.po Tue Oct 27 13:03:02 2015 +0100 @@ -17,6 +17,12 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1)\n" +#: forms.py:23 +msgid "email help text" +msgstr "" +"Adresse de courriel. Veuillez vérifier votre dossier de SPAM ou de messages" +" indésirables si vous ne recevez pas le message d'activation." + #: models/renkan.py:32 msgid "edition_state" msgstr "édition" @@ -930,11 +936,13 @@ msgid "Password reset - Done" msgstr "Réinitialisation du mot de passe effectuée" -#: templates/registration/password_reset_done.html:14 +#: templates/registration/password_reset_done.html:6 msgid "Email with password reset instructions has been sent." msgstr "" "L'email avec les instructions pour réinitialiser le mot de passe a été " -"envoyé." +"envoyé.
\n" +"Si vous ne recevez pas le message de réinitialisation dans les minutes qui " +"suivent, veuillez vérifier votre dossier de messages indésirables/SPAM." #: templates/registration/password_reset_form.html:5 msgid "Password reset" @@ -948,9 +956,12 @@ msgid "Email du compte:" msgstr "Email du compte :" -#: templates/registration/registration_complete.html:14 +#: templates/registration/registration_complete.html:6 msgid "You are now registered. Activation email sent." -msgstr "Vous êtes maintenant enregistré. L'email d'activation a été envoyé." +msgstr "" +"Vous êtes maintenant enregistré. L'email d'activation a été envoyé.
\n" +"Si vous ne recevez pas l'email d'activation, veuillez consulter vos dossiers " +"de spam et de courrier indésirable." #: templates/registration/registration_form.html:5 msgid "Registration" diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/it/LC_MESSAGES/django.mo Binary file src/hdalab/locale/it/LC_MESSAGES/django.mo has changed diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/it/LC_MESSAGES/django.po --- a/src/hdalab/locale/it/LC_MESSAGES/django.po Mon Oct 26 22:54:26 2015 +0100 +++ b/src/hdalab/locale/it/LC_MESSAGES/django.po Tue Oct 27 13:03:02 2015 +0100 @@ -17,6 +17,12 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1)\n" +#: forms.py:23 +msgid "email help text" +msgstr "" +"Email for the activation message. Please check your SPAM folder in case you " +"do not receive the message." + #: models/renkan.py:32 msgid "edition_state" msgstr "" diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/ja/LC_MESSAGES/django.mo Binary file src/hdalab/locale/ja/LC_MESSAGES/django.mo has changed diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/ja/LC_MESSAGES/django.po --- a/src/hdalab/locale/ja/LC_MESSAGES/django.po Mon Oct 26 22:54:26 2015 +0100 +++ b/src/hdalab/locale/ja/LC_MESSAGES/django.po Tue Oct 27 13:03:02 2015 +0100 @@ -18,6 +18,12 @@ "FULL NAME \n" "Plural-Forms: nplurals=1; plural=0\n" +#: forms.py:23 +msgid "email help text" +msgstr "" +"Email for the activation message. Please check your SPAM folder in case you " +"do not receive the message." + #: models/renkan.py:32 msgid "edition_state" msgstr "" diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/zh-tw/LC_MESSAGES/django.mo Binary file src/hdalab/locale/zh-tw/LC_MESSAGES/django.mo has changed diff -r 1b5ed8af1aa0 -r b8d3784be28d src/hdalab/locale/zh-tw/LC_MESSAGES/django.po --- a/src/hdalab/locale/zh-tw/LC_MESSAGES/django.po Mon Oct 26 22:54:26 2015 +0100 +++ b/src/hdalab/locale/zh-tw/LC_MESSAGES/django.po Tue Oct 27 13:03:02 2015 +0100 @@ -17,6 +17,12 @@ "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n > 1)\n" +#: forms.py:23 +msgid "email help text" +msgstr "" +"Email for the activation message. Please check your SPAM folder in case you " +"do not receive the message." + #: models/renkan.py:32 msgid "edition_state" msgstr ""