Re: [PATCH/RFC 06/17] gettext: localize the main git-init message
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Aug 31, 2010, 15:39 UTC
- Message-ID
- <AANLkTimVGJugnxFzk9Vy2BOZiH=PXWmNs108qs1oSwdy@mail.gmail.com>
- In-Reply-To
- <20100831151044.GF2315@burratino>
On Tue, Aug 31, 2010 at 15:10, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 18 quoted lines
> Æ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.