[PATCH 7 of 7] debugignore: make messages translatable

FUJIWARA Katsunori foozy at lares.dti.ne.jp
Mon May 30 18:46:01 EDT 2016


At Fri, 27 May 2016 16:20:25 +0200,
Pierre-Yves David wrote:
> 
> If I remember correctly, the policy is to not translate debug output and
> debug command. They do not aim to be exposed to normal user so I think
> the idea is to avoid increasing the translater load for minor output
> meant for english-able devs.

I've thought that the policy is to not translate debug output and
debug command, too. In fact, I am surprised that there are many
translatable messages in debug* commands than I expected, even though
I translated many of them :-)

> Do we have a way to mark these output and untranslated instead?

Would I send a patch for bulk changes, which replaces all "_()" in
debug* commands to disable translation ?


> On 05/26/2016 03:24 PM, Yuya Nishihara wrote:
> > On Wed, 25 May 2016 13:19:17 -0400, timeless wrote:
> >> On Wed, May 25, 2016 at 1:01 PM, FUJIWARA Katsunori
> >> <foozy at lares.dti.ne.jp> wrote:
> >>> # HG changeset patch
> >>> # User FUJIWARA Katsunori <foozy at lares.dti.ne.jp>
> >>> # Date 1464195454 -32400
> >>> #      Thu May 26 01:57:34 2016 +0900
> >>> # Node ID d240fc2f3dcb60ca11faea0e5242de0cf5f8c81d
> >>> # Parent  02018ce3e14c00d4699f6a4c8987dc61dd365f23
> >>> debugignore: make messages translatable
> >>>
> >> series looks good to me.
> > 
> > LGTM, too. Pushing to the committed repo, thanks.
> > 
> >> it also makes our HGUNICODEPEDANTRY (and thus py3) story easier to
> >> manage since all strings being sent via ui.* should go through _().
> > 
> > I don't know the detail, but ui.debug() will never be through _().
> > _______________________________________________
> > Mercurial-devel mailing list
> > Mercurial-devel at mercurial-scm.org
> > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
> > 
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

----------------------------------------------------------------------
[FUJIWARA Katsunori]                             foozy at lares.dti.ne.jp


More information about the Mercurial-devel mailing list