IDE: Fixed caption of Fppkg-prefix in initial setup dialog

git-svn-id: trunk@60321 -
This commit is contained in:
joost 2019-02-03 21:33:24 +00:00
parent 699e606af8
commit 67cf6c3795
2 changed files with 6 additions and 2 deletions

View File

@ -792,7 +792,11 @@ begin
LazDirLabel.Caption:=SimpleFormat(
lisTheLazarusDirectoryContainsTheSourcesOfTheIDEAndTh, [PathDelim]);
FppkgLabel.Caption:=lisFppkgInstallationPath;
{$IFDEF WINDOWS}
FppkgLabel.Caption:=Format(lisFppkgInstallationPath, [GetFPCVer+PathDelim+'units', GetFPCVer+PathDelim+'fpmkinst']);
{$ELSE}
FppkgLabel.Caption:=Format(lisFppkgInstallationPath, ['lib/fpc', 'lib64/fpc']);
{$ENDIF WINDOWS}
FppkgBrowseButton.Caption:=lisPathEditBrowse;
FppkgWriteConfigButton.Caption:=lisCreateFppkgConfig;

View File

@ -1043,7 +1043,7 @@ resourcestring
lisFppkgCompilerProblem = 'there is a problem with the Free Pascal compiler executable, ';
lisFppkgInstallationPath = 'The prefix of the Free Pascal Compiler installation ' +
'is required to create new configuration files for Fppkg. For example it has ' +
'the file "lib/fpc" or "lib64/fpc"';
'the units "%s" and/or "%s"';
lisSelectFPCPath = 'Select the path where FPC is installed';
lisCreateFppkgConfig = 'Create new Fppkg configuration';
lisFppkgProblem = 'Problem with Fppkg configuration';