[Freeipa-devel] [PATCH 44/44] ticket 1705 - internationalize help topics
John Dennis
jdennis at redhat.com
Wed Aug 24 21:32:41 UTC 2011
* 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
--
John Dennis <jdennis at redhat.com>
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0044-ticket-1705-internationalize-help-topics.patch
Type: text/x-patch
Size: 5301 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110824/7117d2b6/attachment.bin>
More information about the Freeipa-devel
mailing list