mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 16:31:40 +02:00
IDE: view package source: fixed hint
git-svn-id: trunk@31129 -
This commit is contained in:
parent
7206ab763e
commit
21693d6177
@ -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?';
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user