freeipa/ipalib
Petr Viktorin a95eaeac8e Internationalization for public errors
Currently, we throw many public exceptions without proper i18n.
Wrap natural-language error messages in _() so they can be translated.

In the service plugin, raise NotFound errors using handle_not_found helper
so the error message contains the offending service.

Use ScriptError instead of NotFoundError in bindinstance install.

https://fedorahosted.org/freeipa/ticket/1953
2012-09-03 18:16:12 +02:00
..
plugins Internationalization for public errors 2012-09-03 18:16:12 +02:00
__init__.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
aci.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
backend.py Add CLI parsing tests 2012-03-28 15:25:33 +02:00
base.py Change FreeIPA license to GPLv3+ 2010-12-20 17:19:53 -05:00
cli.py Internationalization for public errors 2012-09-03 18:16:12 +02:00
config.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
constants.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
crud.py Enforce that required attributes can't be set to None in CRUD Update 2012-03-12 17:16:14 +01:00
errors.py Internationalization for public errors 2012-09-03 18:16:12 +02:00
frontend.py Improve output validation 2012-06-25 22:04:14 -04:00
krb_utils.py Fix ticket checks when using either s4u2proxy or a delegated krbtgt 2012-03-01 00:56:01 -05:00
output.py Typo fixes 2012-06-25 21:35:11 -04:00
parameters.py Internationalization for public errors 2012-09-03 18:16:12 +02:00
pkcs10.py Fix assorted bugs found by pylint 2011-01-25 14:01:36 -05:00
plugable.py Disallow setattr on no_update/no_create params 2012-05-29 09:23:26 +02:00
request.py Remove deprecated i18n code from ipalib/request and all references to it. 2011-03-01 10:31:36 -05:00
rpc.py Internationalization for public errors 2012-09-03 18:16:12 +02:00
session.py Use DN objects instead of strings 2012-08-12 16:23:24 -04:00
text.py Fix regressions introduced by pylint false positive fixes. 2011-05-11 16:50:01 +02:00
util.py Internationalization for public errors 2012-09-03 18:16:12 +02:00
x509.py Internationalization for public errors 2012-09-03 18:16:12 +02:00