Re: [PATCH 14/15] gettextize: git-revert split up "could not revert/apply" message
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Sep 7, 2010, 05:34 UTC
- Message-ID
- <20100907053420.GR1182@burratino>
- In-Reply-To
- <AANLkTi=V01_OP+6pxrUakF=cTGFL=nOv=9C5meQU2H8C@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> to do this we'd have steal some locale.
Alas. Thanks for explaining.
Show 5 quoted lines
> Also, the set of tests we want to skip under POISON (i.e. automated > garbage) is slightly different from the tests we want to skip under > TEST_LOCALE=, because some of those tests are checking for the %s in > "file failed: %s". So they'll fail under POISON, but shouldn't fail > under any translation.
This could be fixable in the long term, no? e.g., under POISON we could have something like
_ () {
perl -pe 's/(?<!%)[^%#]*/POISON/g'
}to preserve commit message comments and % directives.