Thread (23 messages) flat view 23 messages, 3 authors, 2016-07-13

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

From: Duy Nguyen <hidden>
Date: 2016-07-06 15:26:11

On Tue, Jul 5, 2016 at 10:25 PM, Johannes Sixt [off-list ref] wrote:
Am 05.07.2016 um 19:05 schrieb Nguyễn Thái Ngọc Duy:
quoted
+                       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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help