Fix OTP token names/labels

https://fedorahosted.org/freeipa/ticket/4171

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Nathaniel McCallum
2014-02-10 11:39:53 -05:00
committed by Petr Viktorin
parent 3db08227e8
commit 9cf311db1d

View File

@@ -99,7 +99,7 @@ class otptoken(LDAPObject):
OTP Token object.
"""
container_dn = api.env.container_otp
object_name = _('OTP tokens')
object_name = _('OTP token')
object_name_plural = _('OTP tokens')
object_class = ['ipatoken']
possible_objectclasses = ['ipatokentotp']
@@ -110,8 +110,8 @@ class otptoken(LDAPObject):
]
rdn_is_primary_key = True
label = _('OTP tokens')
label_singular = _('OTP token')
label = _('OTP Tokens')
label_singular = _('OTP Token')
takes_params = (
Str('ipatokenuniqueid',