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. --- ipalib/plugins/netgroup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins/netgroup.py') diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py index 124b860e..6fd0670b 100644 --- a/ipalib/plugins/netgroup.py +++ b/ipalib/plugins/netgroup.py @@ -65,7 +65,7 @@ class netgroup(LDAPObject): Str('ipauniqueid?', cli_name='uuid', label='IPA unique ID', - doc='IPA unique ID', + doc=_('IPA unique ID'), flags=['no_create', 'no_update'], ), Str('member_user?', -- cgit