From: Nguyen Thai Ngoc Duy Date: Wed, 25 Apr 2012 11:42:00 GMT Subject: Re: [PATCH 00/10] i18n relative dates, help, remote, apply, index-pack and bundle Message-ID: In-Reply-To: On Wed, Apr 25, 2012 at 2:50 AM, Junio C Hamano wrote: >> The idea is modify all git commands and output all marked strings in >> "struct option" and usage strings, instead of manually marking them >> one by one. The marked strings will be collected by xgettext just like >> another source file. > > Gaah, my eyes, my eyes. > > No thanks. > Good. What burned your eyes though? Are you ok with an approach that does not change source code (much) and still marks strings using an external tool? I'm looking at sparse, but perhaps a simple perl script to look at "gcc -E" output and search for "struct option" would be enough. -- Duy