>From the recommended site:
In the English singular case, the number – always 1 – can be replaced
printf (ngettext ("One file removed", "%d files removed", n), n);
This works because the ‘printf’ function discards excess arguments
that are not consumed by the format string.
Junio, thank you so much for the reply and link to the docs.
On Thu, Mar 14, 2013 at 6:12 PM, Junio C Hamano <gits...@pobox.com> wrote:
> Harring Figueiredo <harri...@gmail.com> writes:
>> Just want to confirm that this is not a bug:
>> printf_ln(Q_("The bundle requires this ref",
>> "The bundle requires these %d refs",
>> seems to be missing %d parameter on the first message.
> Perhaps visit
> look for "In the English singular case,..." and read the
> explanation there?
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html