Re: [PATCH 2/2] i18n: avoid conflict with ngettext from libintl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 9, 2011 at 21:51, Jonathan Nieder <jrnieder@xxxxxxxxx> wrote:
> Junio C Hamano wrote:
>
>> Hmph. ÂAn obviously safer alternative would be to use git_ngettext() in
>> our source all over the place, and it would by even more peace of mind but
>> that is even longer.
>
> Right. ÂThat is tempting.
>
> Ãvar, is there some usual or obvious abbreviated form for ngettext we
> could use to avoid this fuss altogether?

I was looking yesterday but I couldn't find a common. I think your
Q_() is fine.

I see GNU Make uses S_() internally, netcat uses PL_(). There seems to
be no common convention for it like for gettext().

Personally I'd have chosen n_(), although confusing with our existing
N_() we could add dn_(), dcn_() etc for dngettext() and dcngettext()
later.

But I don't think it matters. Let's use your patch as-is.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]