From: Duy Nguyen Date: Wed, 06 Jul 2016 15:25:29 GMT Subject: Re: [PATCH 3/5] index-pack: correct "len" type in unpack_data() Message-ID: In-Reply-To: <577C17D4.6080708@kdbg.org> On Tue, Jul 5, 2016 at 10:25 PM, Johannes Sixt 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 % (use --force if not)" -- Duy