Op 2-6-2013 21:21, Uwe Stöhr schreef:
Am 02.06.2013 17:45, schrieb Vincent van Ravesteijn:

Please Uwe, you have compiled LyX before.

I had to reset my complete build system because of the TortoiseGit mess (I got a version to test). I did not make private notes because I thought I will find everything in our Readme and/or our Wiki.

- Open LyX.sln in MSVC2010, right-click on "translations" and press "Build"

There is nothing on what I can click, see the attached screenshot that i get when opening the lyx.sln file with MSVC.

- or use the same command as in "build.bat", but specify a different target.

build.bat has
msbuild lyx.sln         /p:Configuration=Release /t:ALL_BUILD

I also already tried
msbuild lyx.sln         /p:Configuration=Release /t:translation

and get this error:

"D:\LyXGit\Master\compile-result\lyx.sln" (translation target) (1) -> D:\LyXGit\Master\compile-result\lyx.sln.metaproj : error MSB4057: The target "translation" does not exist in the project. [D:\LyXGit\Master\compile-result\lyx.sln]


You can do:
"msbuild lyx.sln /t:i18n\translations"

or (if you are in the root build dir)
"msbuild po\translations.vcxproj"

or open MSVC2010:
- Choose "View->Solution Explorer"
- Navigate in the "Solution Explorer" to i18n/translations
- Right-click on translations and choose "Build"

Before the gettext changes this automatically also did the translation, now it does not. Why?

This should not have changed.

What exactly do you mean by "did the translation". You mean that it remerged the po filee, or that it compiled the gmo files from the po file, or both ? As the gmo files are now in the git repository and thus in the source directory, they don't have to be compiled every time. This is only needed if the po files have changed, but there is a bug that this isn't correctly detected. That's why every time you build the "translations" target it always processes everything even if it is not needed. But this bug has been there forever.

Vincent

Reply via email to