[Freeipa-devel] [PATCH 44/44] ticket 1705 - internationalize help topics

Alexander Bokovoy abokovoy at redhat.com
Thu Aug 25 13:13:16 UTC 2011


On 25.08.2011 00:32, John Dennis wrote:
> * 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
ACK


-- 
/ Alexander Bokovoy




More information about the Freeipa-devel mailing list