Re: [PATCH/RFC 06/17] gettext: localize the main git-init message
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 31, 2010, 15:48 UTC
- Message-ID
- <20100831154836.GK2315@burratino>
- In-Reply-To
- <AANLkTimVGJugnxFzk9Vy2BOZiH=PXWmNs108qs1oSwdy@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
>> Ævar Arnfjörð Bjarmason wrote:
>>> This is because everything from "/* TRANSLATORS: " to "*/" will >>> extracted as-is xgettext(1) and presented to translators, including >>> newlines and leading "*"'s.
[...]
Show 6 quoted lines
> 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.
Ah, so you meant "not including newlines but including leading '*''s".
Hmm, this is annoying. Searching existing projects, it seems that a lot of people are just not using the TRANSLATORS: feature except for one-line comments.
Thanks for the explanation.