Agreed. This form of formating is also best IMO
בתאריך 7 במרץ 2014 12:48, "Yuri Prezument" <notifications@github.com> כתב:

> In openbudgets/apps/accounts/social_exceptions.py:
>
> > @@ -0,0 +1,8 @@
> > +from social_auth.exceptions import SocialAuthBaseException
> > +from django.utils.translation import ugettext
> > +
> > +
> > +class NonIdenticalEmailAddress(SocialAuthBaseException):
> > +    def __unicode__(self):
> > +        return ugettext(u'Identical email error: %(message)s' % {'message':
> > +                                                                 self.message})
>
> agreed.
>
>  _(u'Identical email error: {message}').format(self.message)
>
> Is best imo.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/hasadna/openmuni-budgets/pull/405/files#r10379261>
> .
>