diff options
Diffstat (limited to 'ipalib/plugins/user.py')
-rw-r--r-- | ipalib/plugins/user.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/ipalib/plugins/user.py b/ipalib/plugins/user.py index 00d64c7e4..2b5c76ca2 100644 --- a/ipalib/plugins/user.py +++ b/ipalib/plugins/user.py @@ -73,63 +73,63 @@ class user(LDAPObject): takes_params = ( Str('uid', cli_name='login', - label='User login', + label=_('User login'), primary_key=True, default_from=lambda givenname, sn: givenname[0] + sn, normalizer=lambda value: value.lower(), ), Str('givenname', cli_name='first', - label='First name', + label=_('First name'), ), Str('sn', cli_name='last', - label='Last name', + label=_('Last name'), ), Str('homedirectory?', cli_name='homedir', - label='Home directory', + label=('Home directory'), default_from=lambda uid: '/home/%s' % uid, ), Str('gecos?', - label='GECOS field', + label=_('GECOS field'), default_from=lambda uid: uid, autofill=True, ), Str('loginshell?', cli_name='shell', - label='Login shell', + label=_('Login shell'), default=u'/bin/sh', ), Str('krbprincipalname?', cli_name='principal', - label='Kerberos principal', + label=_('Kerberos principal'), default_from=lambda uid: '%s@%s' % (uid, api.env.realm), autofill=True, ), Str('mail?', cli_name='email', - label='Email address', + label=_('Email address'), ), Password('userpassword?', cli_name='password', - label='Password', - doc='Set the user password', + label=_('Password'), + doc=_('Set the user password'), # FIXME: This is temporary till bug is fixed causing updates to # bomb out via the webUI. exclude='webui', ), Int('uidnumber?', cli_name='uid', - label='UID', - doc='UID (use this option to set it manually)', + label=_('UID'), + doc=_('UID (use this option to set it manually)'), ), Str('street?', cli_name='street', - label='Street address', + label=_('Street address'), ), Str('memberof_group?', - label='Groups', + label=_('Groups'), flags=['no_create', 'no_update', 'no_search'], ), ) |