Am Dienstag, 28. Mai 2013 um 13:42:33, schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org> > 27/05/2013 22:18, Vincent van Ravesteijn: > > I tested the branch a bit more. > > > > - When you just implemented this, my LyX was translated immediately, but > > now it can't find the translations anymore. This is a pity. > > > > I don't really understand the following: > > > > + if (in_build_dir_) > > + return FileName(top_srcdir().absFileName() + "/po/" > > + + c + ".gmo"); > > > > So, if we run in the build dir, we look for the gmo files in the source > > dir ? Shouldn't we be looking the build dir then ? What about the > > attached ? > > Traditionally, autotools put the .gmo files in the source directory. The > reason is that these files are distributed in the tar.gz file, so that > users do not need gettext to compile LyX. > > It seems that cmake does not follow this rule. Does this mean that .gmo > files are not distributed?
They are created in the build-directory. And not distributed yet. > I would be OK with either having cmake generate gmo file in source or > have special code in Package.cpp to catter for different build systems. > ... > JMarc Kornel
signature.asc
Description: This is a digitally signed message part.