Hi Thierry,

I think it would be better to use:

error=_('Entry has no \'%s\'') % attr

or even better, use named substitution:

error=_('Entry has no \'%(attribute)s\'') % dict(attribute=attr)

This way will generate a more readable strings for translators.


Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to