diff --git a/ide/initialsetupdlgs.pas b/ide/initialsetupdlgs.pas index 8bad45e26e..ccef6ce780 100644 --- a/ide/initialsetupdlgs.pas +++ b/ide/initialsetupdlgs.pas @@ -1062,7 +1062,8 @@ begin if (GetDefaultSrcOSForTargetOS(GetCompiledTargetOS)='win') then begin // under Windows, make.exe is in the same directory as fpc.exe if not FileExistsCached(ExtractFilePath(AFilename)+'fpc.exe') then begin - Note:='There is no fpc.exe in the directory of '+ExtractFilename(AFilename)+'. Usually the make executable is installed together with the FPC compiler.'; + Note:=Format(lisThereIsNoFpcExeInTheDirectoryOfUsuallyTheMakeExecu, [ + ExtractFilename(AFilename)]); Result:=sddqIncomplete; exit; end; diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 9c572b9b12..8571a8c208 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -5464,6 +5464,9 @@ resourcestring lisFPCSources = 'FPC sources'; lisConfigureLazarusIDE = 'Configure Lazarus IDE'; lisFileIsNotAnExecutable = 'File is not an executable'; + lisThereIsNoFpcExeInTheDirectoryOfUsuallyTheMakeExecu = 'There is no fpc.exe' + +' in the directory of %s. Usually the make executable is installed ' + +'together with the FPC compiler.'; lisUnusualCompilerFileNameUsuallyItStartsWithFpcPpcOr = 'Unusual compiler ' +'file name. Usually it starts with fpc, ppc or ppcross.'; lisFpcCfgIsMissing = 'fpc.cfg is missing.';