summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/netgroup.py
diff options
context:
space:
mode:
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'],
),
)