summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/baseldap.py
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2010-03-05 16:11:21 -0500
committerJason Gerard DeRose <jderose@redhat.com>2010-03-08 21:10:36 -0700
commitb75d06e18938015ad6eafe53e15aa2d7a2f92f02 (patch)
tree856e8b5457e91cb1a9bd628ef8ce82c99dc79657 /ipalib/plugins/baseldap.py
parentb9df4f7f29a638d3646c5ff1ffc33c00f7d715c6 (diff)
downloadfreeipa.git-b75d06e18938015ad6eafe53e15aa2d7a2f92f02.tar.gz
freeipa.git-b75d06e18938015ad6eafe53e15aa2d7a2f92f02.tar.xz
freeipa.git-b75d06e18938015ad6eafe53e15aa2d7a2f92f02.zip
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.
Diffstat (limited to 'ipalib/plugins/baseldap.py')
-rw-r--r--ipalib/plugins/baseldap.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py
index 2266d851..31f4b4e7 100644
--- a/ipalib/plugins/baseldap.py
+++ b/ipalib/plugins/baseldap.py
@@ -381,11 +381,11 @@ class LDAPAddMember(LDAPModMember):
output.Entry('result'),
output.Output('failed',
type=dict,
- doc='Members that could not be added',
+ doc=_('Members that could not be added'),
),
output.Output('completed',
type=int,
- doc='Number of members added',
+ doc=_('Number of members added'),
),
)
@@ -454,11 +454,11 @@ class LDAPRemoveMember(LDAPModMember):
output.Entry('result'),
output.Output('completed',
type=int,
- doc='Number of members removed',
+ doc=_('Number of members removed'),
),
output.Output('failed',
type=dict,
- doc='Members that could not be removed',
+ doc=_('Members that could not be removed'),
),
)