IDE, Initial Setup dialog: improved localization

git-svn-id: trunk@38121 -
This commit is contained in:
maxim 2012-08-02 23:07:40 +00:00
parent e42bfb9668
commit 08c261482b
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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.';