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

View File

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