diff options
Diffstat (limited to 'django_authopenid')
-rw-r--r-- | django_authopenid/urls.py | 6 | ||||
-rw-r--r-- | django_authopenid/views.py | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/django_authopenid/urls.py b/django_authopenid/urls.py index 1d8a71aa..d932a48d 100644 --- a/django_authopenid/urls.py +++ b/django_authopenid/urls.py @@ -21,10 +21,10 @@ urlpatterns = patterns('django_authopenid.views', name='user_confirmchangepw'), # manage account settings - #url(r'^$', 'account_settings', name='user_account_settings'), + #url(r'^$', _('account_settings'), name='user_account_settings'), #url(r'^%s$' % _('password/'), 'changepw', name='user_changepw'), - url(r'^%s$' % 'email/', 'changeemail', name='user_changeemail',kwargs = {'action':'change'}), - url(r'^%s%s$' % ('email/','validate/'), 'changeemail', name='user_changeemail',kwargs = {'action':'validate'}), + url(r'^%s$' % _('email/'), 'changeemail', name='user_changeemail',kwargs = {'action':'change'}), + url(r'^%s%s$' % (_('email/'),_('validate/')), 'changeemail', name='user_changeemail',kwargs = {'action':'validate'}), #url(r'^%s$' % _('openid/'), 'changeopenid', name='user_changeopenid'), url(r'^%s$' % _('delete/'), 'delete', name='user_delete'), ) diff --git a/django_authopenid/views.py b/django_authopenid/views.py index 63eb9195..95898a81 100644 --- a/django_authopenid/views.py +++ b/django_authopenid/views.py @@ -358,6 +358,7 @@ def register(request): 'flickr':'<font color="#0063dc">flick</font><font color="#ff0084">r</font>™', 'google':'Google™', 'aol':'<font color="#31658e">AOL</font>', + 'myopenid':'MyOpenID', } if provider_name not in providers: provider_logo = provider_name |