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

b/snf-astakos-app/astakos/im/messages.py
46 46
ACCOUNT_ACTIVATED                       =   'Congratulations. Your account has' + \
47 47
                                            ' been activated and you have been' + \
48 48
                                            ' automatically signed in to your account.'
49
ALREADY_LOGGED_IN                       =   'You are already signed in to your account.'
49 50
PASSWORD_RESET_DONE                     =   'A mail with details on how to change your password was sent.'
50 51
PASSWORD_RESET_CONFIRM_DONE             =   'Password changed. You can now login using your new password.'
51 52

  
......
180 181
AUTH_PROVIDER_ADD_EXISTS                     =   "Account already assigned to another user."
181 182
AUTH_PROVIDER_LOGIN_TO_ADD                   =   "The new login method will be assigned once you login to your account."
182 183
AUTH_PROVIDER_INVALID_LOGIN                  =   "No account exists."
184
AUTH_PROVIDER_REQUIRED                       =   "%(provider)s login method is required. Add one from your profile page."
183 185

  
184 186

  
185 187
messages = locals().keys()
......
188 190
        attr = "ASTAKOS_%s_MESSAGE" % msg
189 191
        settings_value = getattr(settings, attr, None)
190 192
        if settings_value:
191
            locals()[msg] = settings_value
193
            locals()[msg] = settings_value

Also available in: Unified diff