Re: Moving .desktop.in --> .desktop.in.in ?



On Sun, 2003-06-08 at 23:00, Christian Rose wrote:
> sön 2003-06-08 klockan 21.53 skrev Fernando Herrera:
> > 	So I've added support for reading version from .desktop file in
> > bug buddy. For make this working, the next change is required in _all_
> > modules:
> > 
> > 	move *.desktop.in to .desktop.in.in
> > 	add *.desktop.in to configure.in script AC_OUTPUT
> > 	add X-GNOME-Bugzilla-Version= VERSION@ to .desktop.in.in 
> > 
> > 	then, intltool will add translations to desktop.in file as
> > usual, but containing the package version. The same applies to bonobo
> > .server files
> 
> Translators need to be able to translate directly from CVS sources by
> only using intltool-update, and without needing to build the whole
> thing. So in order to keep it that way, the contents of POTFILES.in must
> always point to files actually present in CVS, and not files that are
> generated later on.
> 
> So unless you also change the listed .desktop.in entries in POTFILES.in
> to .desktop.in.in at the same time, doing translation work from CVS
> sources without building would not work, and we have a problem.

Couldn't intltool take care of putting the version number in the
.desktop files at the same time as the translations?

-- 
Bastien Nocera <hadess hadess net>




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