Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
761528c3
Commit
761528c3
authored
Jan 25, 2013
by
Constantinos Venetsanopoulos
Browse files
Update some messages on Astakos
parent
a15248d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/auth_providers.py
View file @
761528c3
...
...
@@ -206,8 +206,8 @@ class LocalAuthProvider(AuthProvider):
module
=
'local'
title
=
_
(
'Local password'
)
description
=
_
(
'Create a local password for your account'
)
add_prompt
=
_
(
'
Allows you to login using a local password
'
)
details_tpl
=
_
(
'
Local account
: %(username)s'
)
add_prompt
=
_
(
'
Enable Classic login for your account
'
)
details_tpl
=
_
(
'
Username
: %(username)s'
)
login_prompt
=
_
(
'Classic login (username/password)'
)
signup_prompt
=
_
(
'New to ~okeanos ?'
)
signup_link_prompt
=
_
(
'create an account now'
)
...
...
@@ -229,8 +229,8 @@ class LocalAuthProvider(AuthProvider):
class
ShibbolethAuthProvider
(
AuthProvider
):
module
=
'shibboleth'
title
=
_
(
'Academic account'
)
add_prompt
=
_
(
'
Allows you to login using an academic
account'
)
details_tpl
=
_
(
'
Academic account
: %(identifier)s'
)
add_prompt
=
_
(
'
Enable Academic login for your
account'
)
details_tpl
=
_
(
'
Identifier
: %(identifier)s'
)
user_title
=
_
(
'Academic account (%(identifier)s)'
)
primary_login_prompt
=
_
(
'If you are a student, professor or researcher you '
'can login using your academic account.'
)
...
...
@@ -238,7 +238,7 @@ class ShibbolethAuthProvider(AuthProvider):
login_template
=
'im/auth/shibboleth_login.html'
login_prompt_template
=
'im/auth/third_party_provider_generic_login_prompt.html'
logout_from_provider_text
=
'
at
your Academic account
(shibboleth)
'
logout_from_provider_text
=
'
Please close all browser windows to complete logout from
your Academic account
, too.
'
method_prompt
=
_
(
'Academic account'
)
...
...
@@ -246,8 +246,8 @@ class ShibbolethAuthProvider(AuthProvider):
class
TwitterAuthProvider
(
AuthProvider
):
module
=
'twitter'
title
=
_
(
'Twitter'
)
add_prompt
=
_
(
'
Allows you to login using a Twitte
r account'
)
details_tpl
=
_
(
'
Twitter account
: %(info_screen_name)s'
)
add_prompt
=
_
(
'
Enable Twitter login for you
r account'
)
details_tpl
=
_
(
'
Username
: %(info_screen_name)s'
)
user_title
=
_
(
'Twitter (%(info_screen_name)s)'
)
login_view
=
'astakos.im.target.twitter.login'
...
...
@@ -258,8 +258,8 @@ class TwitterAuthProvider(AuthProvider):
class
GoogleAuthProvider
(
AuthProvider
):
module
=
'google'
title
=
_
(
'Google'
)
add_prompt
=
_
(
'
Allows you to login using a Google
account'
)
details_tpl
=
_
(
'
Google account
: %(info_email)s'
)
add_prompt
=
_
(
'
Enable Google login for your
account'
)
details_tpl
=
_
(
'
Email
: %(info_email)s'
)
user_title
=
_
(
'Google (%(info_email)s)'
)
login_view
=
'astakos.im.target.google.login'
...
...
@@ -270,8 +270,8 @@ class GoogleAuthProvider(AuthProvider):
class
LinkedInAuthProvider
(
AuthProvider
):
module
=
'linkedin'
title
=
_
(
'LinkedIn'
)
add_prompt
=
_
(
'
Allows you to login using a LinkedIn
account'
)
details_tpl
=
_
(
'
LinkedIn account
: %(info_emailAddress)s'
)
add_prompt
=
_
(
'
Enable LinkedIn login for your
account'
)
details_tpl
=
_
(
'
Email
: %(info_emailAddress)s'
)
user_title
=
_
(
'LinkedIn (%(info_emailAddress)s)'
)
login_view
=
'astakos.im.target.linkedin.login'
...
...
snf-astakos-app/astakos/im/messages.py
View file @
761528c3
...
...
@@ -91,7 +91,7 @@ OWNER_CANNOT_LEAVE_GROUP = 'You are the owner of this Project.
# Field validation fields
REQUIRED_FIELD
=
'This field is required.'
EMAIL_USED
=
'The
email address you provided
is already
i
n
use. Please provide a different
email address.'
EMAIL_USED
=
'The
re
is already
a
n
account with this
email address.'
SHIBBOLETH_EMAIL_USED
=
'This email is already associated with another shibboleth account.'
SHIBBOLETH_INACTIVE_ACC
=
'This email is already associated with an account that is not yet activated.
\
If that is your account, you need to activate it before being able to
\
...
...
@@ -212,7 +212,7 @@ AUTH_PROVIDER_REQUIRED = "%(provider)s login method is r
AUTH_PROVIDER_CANNOT_CHANGE_PASSWORD
=
"Changing password is not supported."
AUTH_PROVIDER_SIGNUP_FROM_LOGIN
=
None
EXISTING_EMAIL_THIRD_PARTY_NOTIFICATION
=
"You can add '%s' login method to your existing account from your "
\
EXISTING_EMAIL_THIRD_PARTY_NOTIFICATION
=
"You can add
the
'%s' login method to your existing account from your "
\
" <a href='%s'>profile page</a>"
messages
=
locals
().
keys
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment