Re: [PATCH/RFC 00/17] Begin gettextizing Git
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Aug 31, 2010, 19:42 UTC
- Message-ID
- <20100831194204.GW2315@burratino>
- In-Reply-To
- <AANLkTinVFvv2J4z36zc9LAs+_-Pp2_+bYeLVxVeavWtJ@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> On Tue, Aug 31, 2010 at 19:22, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 10 quoted lines
>> if test -f po/git.pot && >> remove_creation_date <po/git.pot >po/git.1po+ && >> remove_creation_date <po/git.po >po/git.2po+ && >> cmp po/git.1po+ po/git.2po+; \ >> then \ >> rm -f po/git.1po+ po/git.2po+ po/git.po; \ >> else \ >> rm -f po/git.1po+ po/git.2po+ po/git.pot; \ >> mv po/git.po po/git.pot; \ >> fi
[...]
> I don't know what they usually do. But that looks like a lot of work > to work around a very rare potential edge case.
Ah, to work around the interrupted build case is simpler. grepping for "mv" in Documentation/Makefile would show some examples.
The above incantation is to avoid changing the timestamp on the .pot file when it does not change.
> "make pot" is only > ever run manually by a translator right before msgmerge.
I don't know enough about translation workflows. Don't people sometimes automatically run msgmerge at build time to get some okay fuzzy messages when the translation team is off on vacation?
> Thanks for checking it out.
Thanks for doing the hard work.