keyword: remove docstrings to ease translation

Matt Mackall mpm at selenic.com
Tue Feb 10 15:36:58 CST 2009


On Tue, 2009-02-10 at 14:01 +0100, Martin Geisler wrote:
> Christian Ebert <blacktrash at gmx.net> writes:
> 
> Hi Christian
> 
> > # HG changeset patch
> > # User Christian Ebert <blacktrash at gmx.net>
> > # Date 1234270008 -3600
> > # Node ID a81f688a071bdd7883fead53a36c43651998912d
> > # Parent  5f7512f680cb9006f730eb851fa49f42237e9aaf
> > keyword: remove docstrings to ease translation
> 
> Thanks, but I already have a patch ready which will remove the
> comments in all the extensions. That removes some 124 useless messages
> from the hg.pot file.
> 
> I haven't pushed it since I'm not sure if others agree to solve the
> problem this way?

I think it's a bad plan. It means on-going work and education. Better to
just have smarter tools that know how to find the interesting strings.

We're eventually going to want to translate templates too, so we'll need
a tool eventually.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list