bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: xgettext problems since upgrade to 0.15


From: Bruno Haible
Subject: Re: xgettext problems since upgrade to 0.15
Date: Thu, 7 Sep 2006 14:54:35 +0200
User-agent: KMail/1.9.1

Hi,

> >> since upgrading to gettext 0.15 i have the problem, that A LOT phrases are
> >> not recognized. 
> >>
> >> This is the command i use:
> >>
> >> xgettext --files-from=filelist-core -LPHP --keyword=gTranslate:2,3 
> >> --no-wrap
> >>
> >> Attached you find the filelist-core.

Those messages that are omitted are those for which you are calling
gTranslate with only two arguments. xgettext <= 0.14.6 interprets a
specification   --keyword=gTranslate:2,3   to include also the calls
with two arguments, whereas in xgettext 0.15 this extracts only calls with
at least 3 arguments.

The fix is to add a --keyword option also for the case with two
arguments:

  xgettext --files-from=filelist-core -LPHP \
    --keyword=gTranslate:2 --keyword=gTranslate:2,3 \
    --no-wrap

Then the POT file is the same as with the older versions.

I'm sorry that the doc is not clear about such details.

Bruno




reply via email to

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