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

2011-08-25 Thread Alexander Bokovoy
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

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

2011-08-25 Thread Rob Crittenden
Alexander Bokovoy wrote: 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

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

2011-08-24 Thread John Dennis
* 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