Re: [PATCH 3/5] index-pack: correct "len" type in unpack_data()

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

 



On Tue, Jul 5, 2016 at 10:25 PM, Johannes Sixt <j6t@xxxxxxxx> wrote:
> Am 05.07.2016 um 19:05 schrieb Nguyễn Thái Ngọc Duy:
>>
>> +                       die(Q_("premature end of pack file, %"PRIuMAX"
>> byte missing",
>> +                              "premature end of pack file, %"PRIuMAX"
>> bytes missing",
>
>
> I would be surprised if this form of translation worked...

What can I say, gettext is smart. In gc.c we already have this

die(_("gc is already running on machine '%s' pid %"PRIuMAX" (use
--force if not)"), name, (uintmax_t)pid);

and vi.po shows

#: builtin/gc.c:397
#, c-format
msgid ""
"gc is already running on machine '%s' pid %<PRIuMAX> (use --force if not)"
-- 
Duy
--
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]