[PATCH] patch, i18n: avoid parameterized messages

Martin Geisler mg at lazybytes.net
Sat Feb 20 12:48:26 CST 2010


Benoit Boissinot <benoit.boissinot at ens-lyon.org> writes:

> On Sat, Feb 20, 2010 at 05:16:01PM +0100, Patrick Mézard wrote:
>> Le 18/02/10 23:01, Benoit Boissinot a écrit :
>> > On Thu, Feb 18, 2010 at 05:43:18PM -0200, Wagner Bruna wrote:
>> >> # HG changeset patch
>> >> # User Wagner Bruna <wbruna at softwareexpress.com.br>
>> >> # Date 1266522163 7200
>> >> # Branch stable
>> >> # Node ID 2fe8f651debbe693c94d66422ed6708972c26826
>> >> # Parent  2c2d2f1354b44427976c2279e18d7c51a47a921b
>> >> patch, i18n: avoid parameterized messages
>> > 
>> > can't we just switch to plurals form until we use ngettext() correctly?
>> 
>> Didn't mpm say we should not bother with singular/plural forms at all
>> and pick one?
>
> Yes, plural form, I remember talking about it in Paris.
>
> But is someone was motivated to switch to N_() I think we should
> support it. What's bad is having hacks to do pluralization that don't
> play well with i18n.

I agree with that, but I guess you already knew :)

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100220/5fc7b0bd/attachment.pgp>


More information about the Mercurial-devel mailing list