Revision c4b1a172 snf-astakos-app/astakos/im/messages.py

b/snf-astakos-app/astakos/im/messages.py
34 34
ACCOUNT_AUTHENTICATION_FAILED           =   'Cannot authenticate account.'
35 35
ACCOUNT_ALREADY_ACTIVE                  =   'Account is already active.'
36 36
ACCOUNT_PENDING_ACTIVATION              =   'Your request is pending activation.'
37
ACCOUNT_PENDING_MODERATION              =   'Your request is pending moderation.'
38
ACCOUNT_INACTIVE                        =   'Your account is disabled.'
37 39
ACCOUNT_RESEND_ACTIVATION               =   'You have not followed the activation link. <a href="%(send_activation_url)s">Resend activation email?</a>'
38 40
INACTIVE_ACCOUNT_CHANGE_EMAIL           =   ''.join([ACCOUNT_RESEND_ACTIVATION, ' or <a href="%(signup_url)s">Provide new email?</a>'])
39 41

  
42
ACCOUNT_PENDING_ACTIVATION_HELP         =   'If you haven\'t received activation email, be sure to check your spam folder.'
43

  
44
ACCOUNT_RESEND_ACTIVATION_PROMPT        =   'Resend activation mail'
45
ACCOUNT_USER_ACTIVATION_PENDING         =   'You have not followed the activation link'
46

  
40 47
ACCOUNT_UNKNOWN                         =   'There is no such account.'
41 48
TOKEN_UNKNOWN                           =   'There is no user matching this token.'
42 49

  
......
49 56
OBJECT_CREATED                          =   'The %(verbose_name)s was created successfully.'
50 57
MEMBER_JOINED_GROUP                     =   '%(realname)s has been successfully joined the group.'
51 58
MEMBER_REMOVED                          =   '%(realname)s has been successfully removed from the group.'
52
BILLING_ERROR                           =   'Service response status: %(status)d' 
59
BILLING_ERROR                           =   'Service response status: %(status)d'
53 60
LOGOUT_SUCCESS                          =   'You have successfully logged out.'
54 61

  
55 62
GENERIC_ERROR                           =   'Something wrong has happened. \
......
71 78
EMAIL_USED                              =   'This email address is already in use. Please supply a different email address.'
72 79
SHIBBOLETH_EMAIL_USED                   =   'This email is already associated with another shibboleth account.'
73 80
SHIBBOLETH_INACTIVE_ACC                 =   'This email is already associated with an inactive account. \
74
                                               You need to wait to be activated before being able to switch to a shibboleth account.'   
81
                                               You need to wait to be activated before being able to switch to a shibboleth account.'
75 82
SHIBBOLETH_MISSING_EPPN                 =   'Missing unique token in request.'
76 83
SHIBBOLETH_MISSING_NAME                 =   'Missing user name in request.'
77 84

  
......
90 97
EMAIL_RESERVED                          =   'Email: %(email)s is reserved'
91 98
NO_LOCAL_AUTH                           =   'Local login is not the current authentication method for this account.'
92 99
SWITCH_ACCOUNT_FAILURE                  =   'Account failed to switch. Invalid parameters.'
93
SWITCH_ACCOUNT_SUCCESS_WITH_PROVIDER    =   'Account failed to switch to %(provider)s.' 
100
SWITCH_ACCOUNT_SUCCESS_WITH_PROVIDER    =   'Account failed to switch to %(provider)s.'
94 101
SWITCH_ACCOUNT_SUCCESS                  =   'Account successfully switched to %(provider)s.'
95 102

  
96 103
# Field help text
......
126 133
NOT_ALLOWED_NEXT_PARAM                  =   'Not allowed next parameter.'
127 134
MISSING_KEY_PARAMETER                   =   'Missing key parameter.'
128 135
INVALID_KEY_PARAMETER                   =   'Invalid key.'
129
DOMAIN_VALUE_ERR                        =   'Enter a valid domain.'
136
DOMAIN_VALUE_ERR                        =   'Enter a valid domain.'
137

  
138
# Auth providers messages
139
AUTH_PROVIDER_NOT_ACTIVE                     =   "'%(provider)s' is disabled"
140
AUTH_PROVIDER_NOT_ACTIVE_FOR_LOGIN           =   "Login using '%(provider)s' is disabled"
141
AUTH_PROVIDER_NOT_ACTIVE_FOR_USER_LOGIN      =   "You cannot login using '%(provider)s'"
142
AUTH_PROVIDER_NOT_ACTIVE_FOR_CREATE          =   "Signup using '%(provider)s' is disabled"
143
AUTH_PROVIDER_NOT_ACTIVE_FOR_ADD             =   "'%(provider)s is disabled"
144
AUTH_PROVIDER_ADDED                          =   "Your new login method has been added"
145
AUTH_PROVIDER_ADD_FAILED                     =   "Failed to add new login method"
146

  

Also available in: Unified diff