Fix gettext call

Thomas Arendsen Hein thomas at intevation.de
Sat Nov 18 19:54:28 UTC 2006


* Marcos Chaves <marcos.nospam at gmail.com> [20061118 20:09]:
> I read that i18n support is planned for the future, so I run
> pygettext.py on mercurial/commands.py (seems to be the only file with
> _() calls) just to see if it worked and noticed that there were 3
> gettext calls that don't seem to be properly formatted, generating
> warnings. Attached is a simple patch that fixes them, so pygettext.py
> runs with no errors and all messages are properly extracted.

Your patch looks good, but can you check if the other files needs
fixing, too? And then please commit it locally and use 'hg export',
so we can simply import it and you automatically get all the credits
for it :)

Thomas

-- 
Email: thomas at intevation.de
http://intevation.de/~thomas/



More information about the Mercurial-devel mailing list