Re: evolution-exchange, pot-file missing



Kjartan broke configure.in on 2004-06-01 when he added the "no"
translation, by accidentally removing the -${BASE_VERSION} part
of the GETTEXT_PACKAGE declaration. There is a little bit of perl
I need to figure out and add to intltool to fix the problem, but
running "intltool-update <lang>" won't work where the GETTEXT_PACKAGE
string contains a shell evaluation that needs to occur. I'm not sure
why, but "intltool-update -p" works, and correctly checks for the pot
file. I want to fix it so that the shell expansions get evaluated
properly before being stored as variable values.

It is not a static string, becuase static strings make it harder
to maintain. It is a bug in intltool, and will be fixed as soon as
I figure out how to do it properly, and can get the time to do so.

-- dobey


MÃ Die , 2004-08-29 at 23:12 +0200, Danilo Åegan ka shkruar:
> Actually, I know of just The Right Person to ask about these issues,
> since he's active in both evolution-exchange and intltool: Rodney ;-) 
> 
> Rodney, can you give insight on 
> 
> 2004-08-24  Rodney Dawes  <dobey novell com>
> 
>         * configure.in: Fix GETTEXT_PACKAGE to include -${BASE_VERSION} again
>         Was accidentally removed on 2004-06-01 with "no" addition
> 
> and how is it supposed to work with intltool? (Try eg. "intltool-update sr" 
> inside "evolution-exchange/po/"). 
> 
> Not entirely relevant, but here's a discussion from gnome-i18n which
> led to my coming to you ;)
> 
> Cheers,
> Danilo
> 
> 
> Today at 23:07, Danilo Åegan wrote:
> 
> > Hi Martin,
> >
> > Today at 21:02, Martin Willemoes Hansen wrote:
> >
> >> The pot-file seems to be missing from the evolution-exchange package.
> >> The statistics for Danish is not generated correctly for this package:
> >> http://l10n-status.gnome.org/gnome-2.8/da/desktop/index.html
> >>
> >> Anyone know what is going on?
> >
> > Uhm, yes, I know what's going on ;-)
> >
> > intltool-update tries to deduce the POT file name from configure.in
> > file.  Unfortunately, this doesn't work very well for
> > evolution-exchange since it uses shell backticks for getting version
> > number of evolution-exchange into POT name (if intltool-update blindly
> > just used this string everywhere, as it does in "-p", it might work,
> > but that would limit our ability to detect common errors).
> >
> > It has long been suggested *not* to use anything but static strings
> > in a definition of GETTEXT_PACKAGE (some things are correctly parsed,
> > but anything fancy such as this is way off), at least when using
> > intltool.
> >
> > This should be reported as a bug in evolution-exchange: care to do
> > that and CC dsegan gmx net at http://bugzilla.ximian.com/?
> >
> > Thanks for spotting and reporting this!
> >
> > Cheers,
> > Danilo



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