summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/krbtpolicy.py
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-07-12 11:01:25 -0500
committerAdam Young <ayoung@redhat.com>2011-07-12 16:33:08 -0400
commitb2c5b2b4b54349f878f17a9378261d58d41af052 (patch)
tree9a1c0fcf749f4ac1dfd214fb45f2f7b820c5be94 /ipalib/plugins/krbtpolicy.py
parente6c68e999358a323500aac9680c4aa8ca76a18cc (diff)
downloadfreeipa-b2c5b2b4b54349f878f17a9378261d58d41af052.tar.gz
freeipa-b2c5b2b4b54349f878f17a9378261d58d41af052.tar.xz
freeipa-b2c5b2b4b54349f878f17a9378261d58d41af052.zip
Fixed object_name and object_name_plural internationalization
The object_name, object_name_plural and messages that use these attributes have been converted to support translation. The label attribute in the Param class has been modified to accept unicode string. Ticket #1435
Diffstat (limited to 'ipalib/plugins/krbtpolicy.py')
-rw-r--r--ipalib/plugins/krbtpolicy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/krbtpolicy.py b/ipalib/plugins/krbtpolicy.py
index 0c76256b7..e24b5447e 100644
--- a/ipalib/plugins/krbtpolicy.py
+++ b/ipalib/plugins/krbtpolicy.py
@@ -72,7 +72,7 @@ class krbtpolicy(LDAPObject):
Kerberos Ticket Policy object
"""
container_dn = 'cn=%s,cn=kerberos' % api.env.realm
- object_name = 'kerberos ticket policy settings'
+ object_name = _('kerberos ticket policy settings')
default_attributes = ['krbmaxticketlife', 'krbmaxrenewableage']
limit_object_classes = ['krbticketpolicyaux']