Thread (15 messages) flat view 15 messages, 4 authors, 2016-06-15

Re: [PATCH 2/5] i18n: mark relative dates for translation

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:53:19

Johannes Sixt wrote:
Am 15.03.2012 19:51, schrieb Jonathan Nieder:
quoted
@@ -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 "<n> 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. ;-)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help