[PATCH] dispatch: translate alias debugging messages

Martin Geisler mg at aragost.com
Tue Jun 21 07:57:59 CDT 2011


Christian Ebert <blacktrash at gmx.net> writes:

> * Martin Geisler on Tuesday, June 21, 2011 at 14:02:23 +0200
>> dsp at php.net writes:
>> 
>>> # HG changeset patch
>>> # User David Soria Parra <dsp at php.net>
>>> # Date 1308655459 -7200
>>> # Node ID 162fdc22be9b509c40a6be73a3e04b28f06d75d4
>>> # Parent  b1880474e3adb25d2242cb00005b872ce67e85b2
>>> dispatch: translate alias debugging messages
>> 
>> Nice, pushed to stable:
>> 
>> changeset:   14702:1ec8bd909ac3
>> branch:      stable
>> tag:         tip
>> user:        David Soria Parra <dsp at php.net>
>> date:        Tue Jun 21 13:24:19 2011 +0200
>> summary:     dispatch: translate alias debugging messages
>
> Wasn't there a policy that debug messages are not translated? Before
> this there was:
>
> $ grep 'ui\.debug(_(' *.py
> commands.py:        ui.debug(_('read config from: %s\n') % f)
> dispatch.py:                        ui.debug(_("No argument found for substitution "
>
> Is there a policy for exceptions to the policy (if it exists)?

Ups, you're right! We decided to not translate debug messages.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/


More information about the Mercurial-devel mailing list