summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/passwd.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/passwd.py
parentedf243d83a9c22a19d6dece035865f88d86cacb2 (diff)
downloadfreeipa-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.py4
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(),