summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/hbacsvcgroup.py
diff options
context:
space:
mode:
authorJohn Dennis <jdennis@redhat.com>2011-08-24 17:27:32 -0400
committerRob Crittenden <rcritten@redhat.com>2011-08-24 23:05:17 -0400
commita4fadbfe632ab9629df7042825f90c73b29b3aa2 (patch)
tree609646754ffff3273bd1f70d785031a3d5e9b292 /ipalib/plugins/hbacsvcgroup.py
parentf4ad749126f025769113dc3f605196f2c08f1bb1 (diff)
downloadfreeipa-a4fadbfe632ab9629df7042825f90c73b29b3aa2.tar.gz
freeipa-a4fadbfe632ab9629df7042825f90c73b29b3aa2.tar.xz
freeipa-a4fadbfe632ab9629df7042825f90c73b29b3aa2.zip
ticket 1705 - internationalize help topics
* Wrap each topic description in _() * Replace the use of if 'topic' in dir(module) with the more Pythonic and efficient getattr(module, 'topic', None) * Make sure to invoke unicode on the value returned from _() otherwise you'll get a GettextFactory instance, not a string * Clean up trailing whitespace errors
Diffstat (limited to 'ipalib/plugins/hbacsvcgroup.py')
-rw-r--r--ipalib/plugins/hbacsvcgroup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/hbacsvcgroup.py b/ipalib/plugins/hbacsvcgroup.py
index 12db5f341..5154b18eb 100644
--- a/ipalib/plugins/hbacsvcgroup.py
+++ b/ipalib/plugins/hbacsvcgroup.py
@@ -45,7 +45,7 @@ from ipalib import api, errors
from ipalib.plugins.baseldap import *
from ipalib import _, ngettext
-topic = ('hbac', 'Host based access control commands')
+topic = ('hbac', _('Host based access control commands'))
class hbacsvcgroup(LDAPObject):
"""