summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/sudocmdgroup.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/sudocmdgroup.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/sudocmdgroup.py')
-rw-r--r--ipalib/plugins/sudocmdgroup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/sudocmdgroup.py b/ipalib/plugins/sudocmdgroup.py
index e613f4657..60d4b3878 100644
--- a/ipalib/plugins/sudocmdgroup.py
+++ b/ipalib/plugins/sudocmdgroup.py
@@ -44,7 +44,7 @@ from ipalib import Str
from ipalib.plugins.baseldap import *
from ipalib import _, ngettext
-topic = ('sudo', 'commands for controlling sudo configuration')
+topic = ('sudo', _('commands for controlling sudo configuration'))
class sudocmdgroup(LDAPObject):
"""