IDE: improved Compiler Test dialog localization

git-svn-id: trunk@36501 -
This commit is contained in:
maxim 2012-04-01 11:45:02 +00:00
parent 5e68dd0ae6
commit 9974288338
2 changed files with 4 additions and 2 deletions

View File

@ -435,7 +435,7 @@ begin
for i:=0 to CfgCache.ConfigFiles.Count-1 do begin
CfgFile:=CfgCache.ConfigFiles[i];
if CfgFile.FileExists then begin
AddHint('using config file '+CfgFile.Filename);
AddHint(Format(dlgCCOUsingConfigFile, [CfgFile.Filename]));
break;
end;
end;
@ -808,7 +808,7 @@ begin
// PPUFiles now contains all orphaned ppu/o files
PPUFiles.Sort;
for i:=0 to PPUFiles.Count-1 do
AddWarning('orphaned file found: '+PPUFiles[i]);
AddWarning(Format(dlgCCOOrphanedFileFound, [PPUFiles[i]]));
finally
PPUFiles.Free;
end;

View File

@ -2022,6 +2022,7 @@ resourcestring
dlgCCOTestCheckingFPCConfigs = 'Test: Checking fpc configs ...';
lisCCONoCfgFound = 'no fpc.cfg found';
lisCCOMultipleCfgFound = 'multiple compiler configs found: ';
dlgCCOUsingConfigFile = 'using config file %s';
dlgCCOTestCompilingEmptyFile = 'Test: Compiling an empty file ...';
lisCCOInvalidTestDir = 'Invalid Test Directory';
lisCCOCheckTestDir = 'Please check the Test directory under %s'
@ -2106,6 +2107,7 @@ resourcestring
+'directory of %s is listed in the unit search path of %s.';
lisTheOutputDirectoryShouldBeASeparateDirectoryAndNot = ' The output '
+'directory should be a separate directory and not contain any source files.';
dlgCCOOrphanedFileFound = 'orphaned file found: %s';
lisTheOutputDirectoryOfIsListedInTheIncludeSearchPath = 'The output '
+'directory of %s is listed in the include search path of %s.';
lisTheOutputDirectoryOfIsListedInTheInheritedUnitSear = 'The output '