IDE: improved wording in some online package installation related strings

git-svn-id: trunk@56698 -
This commit is contained in:
maxim 2017-12-11 22:58:33 +00:00
parent efca1b8d6b
commit 9a41c5862a
2 changed files with 3 additions and 3 deletions

View File

@ -4297,8 +4297,8 @@ resourcestring
lisPkgMangTheFollowingPackageFailedToLoad = 'The following package failed to load:';
lisPkgMangTheFollowingPackagesFailedToLoad = 'The following packages failed to load:';
lisMissingPackages = 'Missing Packages';
lisInstallPackages = 'Install Packages';
lisInstallPackagesMsg = 'The following package(s) are not installed, but available in the main repository: %s.' +
lisNotInstalledPackages = 'Not installed packages';
lisInstallPackagesMsg = 'The following packages are not installed, but available in the main repository: %s.' +
sLineBreak + 'Do you wish to install missing packages?';
lisOtherSourcesPathOfPackageContainsDirectoryWhichIsA = 'other sources path '
+'of package "%s" contains directory "%s", which is already in the unit '

View File

@ -3333,7 +3333,7 @@ begin
end;
end;
if PkgLinks.Count > 0 then begin
if IDEMessageDialog(lisInstallPackages, Format(lisInstallPackagesMsg, [PkgLinksStr]), mtConfirmation, [mbYes, mbNo]) = mrYes then
if IDEMessageDialog(lisNotInstalledPackages, Format(lisInstallPackagesMsg, [PkgLinksStr]), mtConfirmation, [mbYes, mbNo]) = mrYes then
Result := OPMInterface.InstallPackages(PkgLinks, ANeedToRebuild);
end;
finally