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:
Endi S. Dewata
2011-07-12 11:01:25 -05:00
committed by Adam Young
parent e6c68e9993
commit b2c5b2b4b5
28 changed files with 206 additions and 206 deletions

View File

@@ -77,8 +77,8 @@ class group(LDAPObject):
Group object.
"""
container_dn = api.env.container_group
object_name = 'group'
object_name_plural = 'groups'
object_name = _('group')
object_name_plural = _('groups')
object_class = ['ipausergroup']
object_class_config = 'ipagroupobjectclasses'
possible_objectclasses = ['posixGroup', 'mepManagedEntry']