From 959ce28a60900bcdcef5f77576d71a48134e3983 Mon Sep 17 00:00:00 2001 From: Jannis Date: Thu, 11 Oct 2012 14:00:32 +0300 Subject: [PATCH] Added missing gettext call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The RegistrationProfile model's __unicode__() was missing a call to  ugettext_lazy and was therefore not translatable. --- registration/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/registration/models.py b/registration/models.py index 359454a..61dd3f5 100644 --- a/registration/models.py +++ b/registration/models.py @@ -175,7 +175,7 @@ class Meta: verbose_name_plural = _('registration profiles') def __unicode__(self): - return u"Registration information for %s" % self.user + return _(u"Registration information for %(user)s") % { 'user': self.user } def activation_key_expired(self): """