From: Ævar Arnfjörð Bjarmason Date: Tue, 31 Aug 2010 15:39:19 GMT Subject: Re: [PATCH/RFC 06/17] gettext: localize the main git-init message Message-ID: In-Reply-To: <20100831151044.GF2315@burratino> On Tue, Aug 31, 2010 at 15:10, Jonathan Nieder wrote: > Ævar Arnfjörð Bjarmason wrote: > >> Note that the TRANSLATORS comment doesn't use the usual Git >> style. This is because everything from "/* TRANSLATORS: " to "*/" will >> extracted as-is xgettext(1) and presented to translators, including >> newlines and leading "*"'s. > > How would it cope with the following? > >        /* TRANSLATORS: >         * The first '%s' is either "Reinitialized existing" or >         * "Initialized empty", the second " shared" or "", and >         * the last '%s%s' is the verbatim directory name. >         */ > > The leading column of stars makes it easier to distinguish code > from comments.  (Plus I am not too happy to read code with two > inconsistent comment styles used.) As I was (trying) to get across in the the commit message it'll make the *'s part of the message. I.e.: TRANSLATORS: * The first '%s' is either "Reinitialized existing" or * "Initialized empty", the second " shared" or "", and * the last '%s%s' is the verbatim directory name.