[PATCH 7 of 7] debugignore: make messages translatable

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri May 27 10:20:25 EDT 2016


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.

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

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
> 


More information about the Mercurial-devel mailing list