summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/netgroup.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2010-02-19 09:08:16 -0700
committerJason Gerard DeRose <jderose@redhat.com>2010-02-24 02:47:39 -0700
commit8c46e09735d076e9689d04936cdeeca6dfd770d3 (patch)
tree6d4c04028c21ae068f5dfde2357308035693c50c /ipalib/plugins/netgroup.py
parentedf243d83a9c22a19d6dece035865f88d86cacb2 (diff)
downloadfreeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.tar.gz
freeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.tar.xz
freeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.zip
Translatable Param.label, Param.doc
Diffstat (limited to 'ipalib/plugins/netgroup.py')
-rw-r--r--ipalib/plugins/netgroup.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/ipalib/plugins/netgroup.py b/ipalib/plugins/netgroup.py
index 7619d567b..aeee81d2f 100644
--- a/ipalib/plugins/netgroup.py
+++ b/ipalib/plugins/netgroup.py
@@ -59,20 +59,18 @@ class netgroup(LDAPObject):
takes_params = (
Str('cn',
cli_name='name',
- label='Netgroup name',
- doc='netgroup name',
+ label=_('Netgroup name'),
primary_key=True,
normalizer=lambda value: value.lower(),
),
Str('description',
cli_name='desc',
- label='Description',
- doc='netgroup description',
+ label=_('Description'),
+ doc=_('Netgroup description'),
),
Str('nisdomainname?',
cli_name='nisdomain',
- label='NIS domain name',
- doc='NIS domain name',
+ label=_('NIS domain name'),
),
Str('ipauniqueid?',
cli_name='uuid',
@@ -89,7 +87,7 @@ class netgroup(LDAPObject):
flags=['no_create', 'no_update', 'no_search'],
),
Str('member_host?',
- label='Member Host',
+ label=_('Member host'),
flags=['no_create', 'no_update', 'no_search'],
),
Str('member_hostgroup?',
@@ -97,7 +95,7 @@ class netgroup(LDAPObject):
flags=['no_create', 'no_update', 'no_search'],
),
Str('externalhost?',
- label='External Host',
+ label=_('External host'),
flags=['no_create', 'no_update', 'no_search'],
),
)