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.

Tomas

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

Reply via email to