--- a/app/soc/views/models/user_self.py Sat Jan 24 21:38:28 2009 +0000
+++ b/app/soc/views/models/user_self.py Sat Jan 24 23:56:34 2009 +0000
@@ -29,7 +29,7 @@
from django import http
from django.utils.encoding import force_unicode
from django.utils.safestring import mark_safe
-from django.utils.translation import ugettext_lazy
+from django.utils.translation import ugettext
from soc.logic import dicts
from soc.logic import validate
@@ -94,7 +94,7 @@
"""View methods for the User model.
"""
- DEF_USER_ACCOUNT_INVALID_MSG_FMT = ugettext_lazy(
+ DEF_USER_ACCOUNT_INVALID_MSG_FMT = ugettext(
'The <b><i>%(email)s</i></b> account cannot be used with this site, for'
' one or more of the following reasons:'
'<ul>'
@@ -256,7 +256,7 @@
"""See base.View.getSidebarMenus().
"""
- link_title = ugettext_lazy('Notifications')
+ link_title = ugettext('Notifications')
user = user_logic.getForCurrentAccount()