[PATCH 0 of 6] Updated Gettext infrastructure

Benoit Boissinot bboissin at gmail.com
Mon Sep 8 16:06:36 CDT 2008


On Sat, Sep 6, 2008 at 1:11 AM, Martin Geisler <mg at daimi.au.dk> wrote:
> Hi everybody,
>
> This is an updated version of the patches for enabling translations of
> Mercurial:
>
> * Patch 1 restructures the helptable so that the header can be
>  translated nicely in the next patch.

pushed
>
> * Patch 2 marks strings in helptable for translation and runs
>  extension docstrings through gettext.
>
pushed

> * Patch 3 is new, it makes gendoc.py use gettext as appropriate
>  instead of _. This fixes some pygettext.py warnings.
>
pushed

> * Patch 4 is also new. It tries to fix the way the record extension
>  mixes docstrings with prompts and user input.
>

pushed

> * Patch 5 makes it easier to find the hg.mo files. The gettext module
>  would lookup the hg.mo file corresponding to xx.po in
>
>
> * Patch 6 adds new targets to the Makefile for updating the hg.pot (PO
>  template) file and to generate xx.mo files.
>
I didn't look at 5 and 6 yet.

thanks!

Benoit


More information about the Mercurial-devel mailing list