mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
committed by
Adam Young
parent
e6c68e9993
commit
b2c5b2b4b5
@@ -47,8 +47,8 @@ class sudocmd(LDAPObject):
|
||||
Sudo Command object.
|
||||
"""
|
||||
container_dn = api.env.container_sudocmd
|
||||
object_name = 'sudo command'
|
||||
object_name_plural = 'sudo commands'
|
||||
object_name = _('sudo command')
|
||||
object_name_plural = _('sudo commands')
|
||||
object_class = ['ipaobject', 'ipasudocmd']
|
||||
# object_class_config = 'ipahostobjectclasses'
|
||||
search_attributes = [
|
||||
|
||||
Reference in New Issue
Block a user