mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-01 17:52:47 +02:00
IDE: resourcestring
git-svn-id: trunk@48277 -
This commit is contained in:
parent
9d6d80a58d
commit
7ab4a1c526
@ -308,6 +308,18 @@ function CheckCompilerQuality(AFilename: string; out Note: string;
|
||||
TestSrcFilename: string): TSDFilenameQuality;
|
||||
var
|
||||
CfgCache: TFPCTargetConfigCache;
|
||||
|
||||
function CheckPPU(const AnUnitName: string): boolean;
|
||||
begin
|
||||
if CompareFileExt(CfgCache.Units[AnUnitName],'ppu',false)<>0 then
|
||||
begin
|
||||
Note:=Format(lisPpuNotFoundCheckYourFpcCfg, [AnUnitName]);
|
||||
Result:=false;
|
||||
end else
|
||||
Result:=true;
|
||||
end;
|
||||
|
||||
var
|
||||
i: LongInt;
|
||||
ShortFilename: String;
|
||||
begin
|
||||
@ -357,17 +369,9 @@ begin
|
||||
end;
|
||||
if (CfgCache.RealTargetCPU='jvm') then
|
||||
begin
|
||||
if (CompareFileExt(CfgCache.Units['uuchar'],'ppu',false)<>0) then
|
||||
begin
|
||||
Note:= 'uuchar.ppu not found. Check your fpc.cfg.';
|
||||
exit;
|
||||
end;
|
||||
if not CheckPPU('uuchar') then exit;
|
||||
end else begin
|
||||
if (CompareFileExt(CfgCache.Units['classes'],'ppu',false)<>0) then
|
||||
begin
|
||||
Note:=lisClassesPpuNotFoundCheckYourFpcCfg;
|
||||
exit;
|
||||
end;
|
||||
if not CheckPPU('classes') then exit;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
@ -5658,13 +5658,13 @@ resourcestring
|
||||
+'file name. Usually it starts with fpc, ppc or ppcross.';
|
||||
lisFpcCfgIsMissing = 'fpc.cfg is missing.';
|
||||
lisSystemPpuNotFoundCheckYourFpcCfg = 'system.ppu not found. Check your fpc.cfg.';
|
||||
lisClassesPpuNotFoundCheckYourFpcCfg = 'classes.ppu not found. Check your fpc.cfg.';
|
||||
lisWelcomeToLazarusIDE = 'Welcome to Lazarus IDE %s';
|
||||
lisStartIDE = 'Start IDE';
|
||||
lisUnableToLoadFile2 = 'unable to load file %s: %s';
|
||||
lisDirectoryNotFound2 = 'directory %s not found';
|
||||
lisFileNotFound3 = 'file %s not found';
|
||||
lisFileNotFound4 = 'file not found';
|
||||
lisPpuNotFoundCheckYourFpcCfg = '%s.ppu not found. Check your fpc.cfg.';
|
||||
lisISDDirectoryNotFound = 'directory not found';
|
||||
lisDebuggerFeedbackInformation = 'Debugger Information';
|
||||
lisDebuggerFeedbackWarning = 'Debugger Warning';
|
||||
|
Loading…
Reference in New Issue
Block a user