#1953 Fix i18n for public errors
Closed: Fixed None Opened 12 years ago by mkosek.

Currently, we throw many public exceptions without proper internationalization. Just few examples:

plugins/baseldap.py:                raise errors.ObjectclassViolation(info='attribute "%(attribute)s" not allowed' % dict(attribute=attr.names[0].lower()))
plugins/baseldap.py:                    raise errors.ValidationError(name='rename', error=u'can\'t be empty')
plugins/entitle.py:            raise errors.ACIError(info='not allowed to perform this command')
plugins/host.py:                    raise errors.DuplicateEntry(message=u'This IP address is already assigned.')

This should be fixed.


I think this can be deferred to 3.1 Backlog.

Moving to next month iteration.

Petr, this ticket may be interesting for you - it is related to you i18n efforts.

Moving closed RC1 tickets to Beta 3.

Metadata Update from @mkosek:
- Issue assigned to pviktori
- Issue set to the milestone: FreeIPA 3.0 Beta 3

7 years ago

Login to comment on this ticket.

Metadata