mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
committed by
Rob Crittenden
parent
f4ad749126
commit
a4fadbfe63
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user