diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-07-12 11:01:25 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-07-12 16:33:08 -0400 |
commit | b2c5b2b4b54349f878f17a9378261d58d41af052 (patch) | |
tree | 9a1c0fcf749f4ac1dfd214fb45f2f7b820c5be94 /ipalib/plugins/selfservice.py | |
parent | e6c68e999358a323500aac9680c4aa8ca76a18cc (diff) | |
download | freeipa-b2c5b2b4b54349f878f17a9378261d58d41af052.tar.gz freeipa-b2c5b2b4b54349f878f17a9378261d58d41af052.tar.xz freeipa-b2c5b2b4b54349f878f17a9378261d58d41af052.zip |
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
Diffstat (limited to 'ipalib/plugins/selfservice.py')
-rw-r--r-- | ipalib/plugins/selfservice.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/selfservice.py b/ipalib/plugins/selfservice.py index 55aa7c1de..47650e039 100644 --- a/ipalib/plugins/selfservice.py +++ b/ipalib/plugins/selfservice.py @@ -70,8 +70,8 @@ class selfservice(Object): """ bindable = False - object_name = 'self service permission', - object_name_plural = 'self service permissions', + object_name = _('self service permission') + object_name_plural = _('self service permissions') label = _('Self Service Permissions') label_singular = _('self service permission') |