IDE: improved 'package not found' message, bug #21414

git-svn-id: trunk@35698 -
This commit is contained in:
maxim 2012-03-03 22:30:53 +00:00
parent f46f6f6747
commit 39e6b5702c
2 changed files with 4 additions and 4 deletions

View File

@ -3679,8 +3679,8 @@ resourcestring
lisPkgMangTheProjectRequiresThePackageButItWasNotFound = 'The project '
+'requires the package %s%s%s.%sBut it was not found. See Project -> '
+'Project Inspector.';
lisPkgMangARequiredPackagesWasNotFound = 'A required packages was not '
+'found. See package graph.';
lisPkgMangRequiredPackagesWereNotFound = 'One or more required packages were not '
+'found. See package graph for details.';
lisPkgMangCircularDependencies = 'Circular dependencies found';
lisPkgMangThePackageIsCompiledAutomaticallyAndItsOutputDirec = 'The package '
+'%s is compiled automatically and its output directory is "%s", which is '
@ -3733,7 +3733,7 @@ resourcestring
+'interactive, aborting now.';
lisPkgMangPackageConflicts = 'Package conflicts';
lisPkgMangThereIsAlreadyAPackageLoadedFromFile = 'There is already a '
+'package %s%s%s loaded%sfrom file %s%s%s.%sSee Components -> Package '
+'package %s%s%s loaded%sfrom file %s%s%s.%sSee Package -> Package '
+'Graph.%sReplace is impossible.';
lisPkgMangSavePackage = 'Save package?';
lisPkgMangLoadingPackageWillReplacePackage = 'Loading package %s will '

View File

@ -1249,7 +1249,7 @@ begin
end;
DoShowPackageGraphPathList(PathList);
Result:=IDEMessageDialogAb(lisPkgMangBrokenDependency,
lisPkgMangARequiredPackagesWasNotFound,
lisPkgMangRequiredPackagesWereNotFound,
mtError,Btns,ShowAbort);
if not ShowAbort then
Result := mrCancel; // User confirmed error, implicitly cancel the action