From: Jonathan Nieder Date: Thu, 15 Mar 2012 19:18:46 GMT Subject: Re: [PATCH 2/5] i18n: mark relative dates for translation Message-ID: <20120315191846.GA23731@burratino> In-Reply-To: <4F623FF8.1040507@kdbg.org> Johannes Sixt wrote: > Am 15.03.2012 19:51, schrieb Jonathan Nieder: >> @@ -141,40 +142,42 @@ const char *show_date_relative(unsigned long time, int tz, >> unsigned long years = totalmonths / 12; >> unsigned long months = totalmonths % 12; >> if (months) { >> struct strbuf sb = STRBUF_INIT; >> strbuf_addf(&sb, Q_("%lu year", "%lu years", years), years); >> /* TRANSLATORS: "%s" is " years" */ >> - snprintf(timebuf, timebuf_size, >> + strbuf_addf(timebuf, > > OT: You have 6 lines of context here, unlike all other hunks, which have > only 3 lines. Something weird or simple to explain? Just manual patch mangling. ;-)