IDE: view package source: fixed hint

git-svn-id: trunk@31129 -
This commit is contained in:
mattias 2011-06-07 20:23:27 +00:00
parent 7206ab763e
commit 21693d6177
2 changed files with 3 additions and 3 deletions

View File

@ -3730,7 +3730,7 @@ resourcestring
+'sDo you want to rebuild Lazarus now?';
lisPkgMangThisIsAVirtualPackageItHasNoSourceYetPleaseSaveThe = 'This is a '
+'virtual package. It has no source yet. Please save the package first.';
lisPkgMangPleaseSaveThePackageFirst = 'Please save the package first.';
lisPkgMangPleaseCompileThePackageFirst = 'Please compile the package first.';
lisPkgMangThePackageIsMarkedForInstallationButCanNotBeFound = 'The package %'
+'s%s%s is marked for installation, but can not be found.%sRemove '
+'dependency from the installation list of packages?';

View File

@ -3930,8 +3930,8 @@ begin
exit;
end;
Filename:=APackage.GetSrcFilename;
if (not FilenameIsAbsolute(Filename)) or (not FileExistsUTF8(Filename)) then begin
IDEMessageDialog(lisCCOErrorCaption, lisPkgMangPleaseSaveThePackageFirst,
if (not FilenameIsAbsolute(Filename)) or (not FileExistsCached(Filename)) then begin
IDEMessageDialog(lisCCOErrorCaption, lisPkgMangPleaseCompileThePackageFirst,
mtError,[mbCancel]);
exit;
end;