On 08/14/2012 10:58 AM, Alexander Bokovoy wrote: > Hi, > > fairly simple patch to wrap error messages to look up in translation > catalog. > > https://fedorahosted.org/freeipa/ticket/2964 >
Looks and works OK. I just don't think its necessary to translate our error logging: - root_logger.error("LDAP error when connecting to %s: %s" % (unicode(result.pdc_name), str(e))) + root_logger.error( + _("LDAP error when connecting to %(host)s: %(error)s") % + dict(host=unicode(result.pdc_name), error=str(e))) Martin _______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel