Commit e16c78f0 authored by Constantinos Venetsanopoulos's avatar Constantinos Venetsanopoulos
Browse files

astakos: 'activation' -> 'verification'

Change all Astakos messages to reflect the new sign up procedure:

 * first send a verification email
 * user clicks on verification link
 * mark as pending moderation
 * activate
parent 3cb16584
......@@ -44,16 +44,17 @@ ACCOUNT_NOT_ACTIVE = 'User account is not active.'
ACCOUNT_NOT_MODERATED = 'User account is not moderated.'
ACCOUNT_NOT_VERIFIED = 'User account does not have a verified email address.'
'It seems that an activation email has been sent to you, but you have '
'not followed the activation link. '
'<a href="%(send_activation_url)s">Resend activation email.</a>')
'It seems that a verification email has been sent to you, but you have '
'not followed the email verification link. '
'<a href="%(send_activation_url)s">Resend verification email.</a>')
' Or <a href="%(signup_url)s">Send activation to a new email.</a>'])
' Or <a href="%(signup_url)s">Send verification to a new email.</a>'])
'An activation email has been sent to you. Make sure you check your '
'spam folder, too.')
'A verification email has been sent to the email address you specified '
'during sign up. Please follow the link in this email to proceed. '
'Make sure you check your spam folder, too.')
ACCOUNT_ACTIVATED = 'Congratulations. Your account has' + \
' been activated. You are now logged in.'
......@@ -66,8 +67,8 @@ PASSWORD_RESET_CONFIRM_DONE = (
'can now login using your new password.')
PASSWORD_CHANGED = 'Your new password was set successfully.'
ACCOUNT_RESEND_ACTIVATION = 'Resend activation email'
ACCOUNT_USER_ACTIVATION_PENDING = 'You have not followed the activation link'
ACCOUNT_RESEND_ACTIVATION = 'Resend verification email'
ACCOUNT_USER_ACTIVATION_PENDING = 'You have not followed the verification link'
ACCOUNT_UNKNOWN = 'There is no such account.'
TOKEN_UNKNOWN = 'There is no user matching this authentication token.'
......@@ -208,7 +209,7 @@ NOTIFICATION_SENT = (
'now pending approval. You will be notified by email in the next few '
'days. Thanks for your interest!')
'An email containing your activation link has been sent to your '
'An email containing a verification link has been sent to your '
'email address.')
......@@ -327,12 +328,12 @@ AUTH_PROVIDER_PENDING_REGISTRATION = '''A pending registration exists for
all pending registrations will be deleted.'''
'<a href="{resend_activation_url}">Click here to resend activation '
'<a href="{resend_activation_url}">Click here to resend the verification '
'Your account request is pending moderation.')
'Your account request is pending activation.')
'Your account request is pending email verification.')
AUTH_PROVIDER_ACCOUNT_INACTIVE = 'Your account is disabled.'
......@@ -344,7 +345,7 @@ _SITENAME = astakos_settings.SITENAME
VERIFICATION_EMAIL_SUBJECT = '%s account activation is needed' % _SITENAME
VERIFICATION_EMAIL_SUBJECT = '%s account verification' % _SITENAME
ACCOUNT_CREATION_SUBJECT = '%s account created (%%(user)s)' % _SITENAME
'%s account activated (%%(user)s)' % _SITENAME
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment