Re: Has anyone looked at Gettext support for Git itself?
- From
Dmitry Potapov <dpotapov@gmail.com>
- Date
- May 16, 2010, 05:36 UTC
- Message-ID
- <20100516053651.GB17200@dpotapov.dyndns.org>
- In-Reply-To
- <AANLkTikgs3d1YagU5lRCkEM9uwWe9dmifbHvIjhsk_wF@mail.gmail.com>
On Sun, May 16, 2010 at 01:12:20AM +0000, Ævar Arnfjörð Bjarmason wrote:
> > GETTEXT=`which gettext 2> /dev/null` > if [ -z $GETTEXT ] ; then GETTEXT='echo -n'; fi
'echo -n' is not portable, and it is not used in git for this reason.
Dmitry
> And then just: > > - echo "We are not bisecting." > + $GETTEXT "We are not bisecting."
If gettext does not add the trailing newline to the message then it is clearly not equivalent replacement.
Dmitry