Re: [RFC/PATCH] i18n of multi-line messages
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 23, 2011, 20:54 UTC
- Message-ID
- <7v62h7c8kk.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4EF422D3.2050802@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
> IMO the solution to not translate plumbing messages is to omit the > initialization of the gettext machinery.
That's clever, and might be a good approach. I didn't think things through nor looked at the existing codepaths where we do that (and I won't be looking at them over the holiday weekend).
> Anyway, here is a patch that modifies vreportf() in an i18n friendly way > (I think). It is not necessarily meant for inclusion.
The test-part of the patch seems to match more or less what I tentatively queued after I sent the "convert at vreportf() level" patch and then discarded. You seem to have missed vwritef(), by the way.