mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 14:17:41 -05: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:
1 parent
e6c68e9993
commit
b2c5b2b4b5
28 files changed
+206
-206
No files matched your search
@@ -45,8 +45,8 @@ class sudorule(LDAPObject):
|
||||
Sudo Rule management
|
||||
"""
|
||||
container_dn = api.env.container_sudorule
|
||||
object_name = 'sudo rule'
|
||||
object_name_plural = 'sudo rules'
|
||||
object_name = _('sudo rule')
|
||||
object_name_plural = _('sudo rules')
|
||||
object_class = ['ipaassociation', 'ipasudorule']
|
||||
default_attributes = [
|
||||
'cn', 'ipaenabledflag',
|
||||
|
||||
Reference in new issue
Block a user