From 03e91df2d59eeddd70c9d0c91839054ae0e22679 Mon Sep 17 00:00:00 2001 From: David Read Date: Fri, 10 Feb 2012 16:53:50 +0000 Subject: [PATCH] [release-v1.6][controllers]: Fix bad strings changed in 6d9a164c5bf33110f0de003ee64de2b301f9e964 for i18n. --- ckan/controllers/home.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ckan/controllers/home.py b/ckan/controllers/home.py index 337e3e64c05..284e100f7f1 100644 --- a/ckan/controllers/home.py +++ b/ckan/controllers/home.py @@ -67,16 +67,16 @@ def index(self): c.userobj.name.startswith('https://www.google.com/accounts/o8/id') if not c.userobj.email and (is_google_id and not c.userobj.fullname): msg = _('Please update your profile' - ' and add your email address and your full name. ') + \ + ' and add your email address and your full name. ') % url + \ _('%s uses your email address' ' if you need to reset your password.') \ - % (url, g.site_title) + % g.site_title elif not c.userobj.email: msg = _('Please update your profile' - ' and add your email address. ') + \ + ' and add your email address. ') % url + \ _('%s uses your email address' ' if you need to reset your password.') \ - % (url, g.site_title) + % g.site_title elif is_google_id and not c.userobj.fullname: msg = _('Please update your profile' ' and add your full name.') % (url)