Use something like `_("Invitation sent to user '%(user)s.'") % {'user': signup_code.email}` instead.