# HG changeset patch # User Pawel Solyga # Date 1224352186 0 # Node ID 45d6a1b492d63173207d585630663eb6667f1b6c # Parent 8a8820544caa465bd150f25224b9ec316a82e758 Add missing ugettext_lazy for string in soc.views.user.profile module. Patch by: Pawel Solyga Review by: to-be-reviewed diff -r 8a8820544caa -r 45d6a1b492d6 app/soc/views/user/profile.py --- a/app/soc/views/user/profile.py Sat Oct 18 17:27:53 2008 +0000 +++ b/app/soc/views/user/profile.py Sat Oct 18 17:49:46 2008 +0000 @@ -107,10 +107,10 @@ # not logged in, and no link name, so request that the user sign in return simple.requestLogin(request, page, template, context, # TODO(tlarsen): /user/profile could be a link to a help page instead - login_message_fmt='To create a new' + login_message_fmt=ugettext_lazy('To create a new' ' User Profile' ' or modify an existing one, you must first' - ' sign in.') + ' sign in.')) if (not id) and link_name: # not logged in, so show read-only public profile for link_name user