diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2010-02-19 09:08:16 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2010-02-24 02:47:39 -0700 |
commit | 8c46e09735d076e9689d04936cdeeca6dfd770d3 (patch) | |
tree | 6d4c04028c21ae068f5dfde2357308035693c50c /ipalib/plugins/passwd.py | |
parent | edf243d83a9c22a19d6dece035865f88d86cacb2 (diff) | |
download | freeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.tar.gz freeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.tar.xz freeipa-8c46e09735d076e9689d04936cdeeca6dfd770d3.zip |
Translatable Param.label, Param.doc
Diffstat (limited to 'ipalib/plugins/passwd.py')
-rw-r--r-- | ipalib/plugins/passwd.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ipalib/plugins/passwd.py b/ipalib/plugins/passwd.py index 6c509c2c7..50e99c248 100644 --- a/ipalib/plugins/passwd.py +++ b/ipalib/plugins/passwd.py @@ -23,16 +23,18 @@ Password changes from ipalib import api, errors, util from ipalib import Command from ipalib import Str, Password +from ipalib import _ class passwd(Command): """ Change user password. """ + takes_args = ( Str('principal', cli_name='user', - doc='username', + label=_('User name'), primary_key=True, autofill=True, create_default=lambda **kw: util.get_current_principal(), |