bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib's translation


From: Bruno Haible
Subject: Re: gnulib's translation
Date: Fri, 07 Dec 2018 04:33:01 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-138-generic; KDE/5.18.0; x86_64; ; )

Hi Akim,

> > Yes, it would be desirable that someone regularly (maybe once every 6 months
> > or so) submits the gnulib .pot file to the TP.
> > 
> > Volunteers?
> 
> I'm looking into this.

Thank you!!

> Is `./gnulib-tool --create-megatestdir --dir=/tmp/gnulib-$(date +%F)` the 
> right starting point?

No, this is overkill.

Even
    ./gnulib-tool --create-testdir --without-tests --dir=...
is overkill.

It's essentially two commands:

$ version=`git describe HEAD | sed -e 's/v0.1/4.0.0/' -e 's/-/./g'`
# or similar - make sure it's increasing,
# cf. https://translationproject.org/domain/gnulib.html

$ xgettext --keyword=_ --keyword=N_ \
           --copyright-holder='Free Software Foundation, Inc.' \
           --package-name=gnulib --package-version=$version \
           --msgid-bugs-address='address@hidden' \
           -o gnulib.pot \
           `find lib -name '*.h' -o -name '*.c' | LC_ALL=C sort`

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]