From b75d06e18938015ad6eafe53e15aa2d7a2f92f02 Mon Sep 17 00:00:00 2001 From: John Dennis Date: Fri, 5 Mar 2010 16:11:21 -0500 Subject: localize doc strings A number of doc strings were not localized, wrap them in _(). Some messages were not localized, wrap them in _() Fix a couple of failing tests: The method name in RPC should not be unicode. The doc attribute must use the .msg attribute for comparison. Also clean up imports of _() The import should come from ipalib or ipalib.text, not ugettext from request. --- tests/test_ipalib/test_output.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_ipalib/test_output.py') diff --git a/tests/test_ipalib/test_output.py b/tests/test_ipalib/test_output.py index ceb825c4..19d728f3 100644 --- a/tests/test_ipalib/test_output.py +++ b/tests/test_ipalib/test_output.py @@ -24,6 +24,7 @@ Test the `ipalib.output` module. from tests.util import raises, ClassChecker from ipalib import output from ipalib.frontend import Command +from ipalib import _ class test_Output(ClassChecker): """ -- cgit