summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathaniel McCallum <npmccallum@redhat.com>2014-02-10 11:39:53 -0500
committerPetr Viktorin <pviktori@redhat.com>2014-02-13 19:43:29 +0100
commit9cf311db1d056e7a4a53490932dd4d1f8e4bd26c (patch)
tree67a890cd7d9c56346f877c0e484f77edb64e67d8
parent3db08227e8c760c688b8886e0b3b072e9b6dd94d (diff)
downloadfreeipa.git-9cf311db1d056e7a4a53490932dd4d1f8e4bd26c.tar.gz
freeipa.git-9cf311db1d056e7a4a53490932dd4d1f8e4bd26c.tar.xz
freeipa.git-9cf311db1d056e7a4a53490932dd4d1f8e4bd26c.zip
Fix OTP token names/labels
https://fedorahosted.org/freeipa/ticket/4171 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
-rw-r--r--ipalib/plugins/otptoken.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/plugins/otptoken.py b/ipalib/plugins/otptoken.py
index 67f24859..7462ca9f 100644
--- a/ipalib/plugins/otptoken.py
+++ b/ipalib/plugins/otptoken.py
@@ -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',