mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 13:56:06 +02:00
IDE: package registration error: write lpk filename
git-svn-id: trunk@34997 -
This commit is contained in:
parent
57f34f428c
commit
a8239ea06b
@ -3850,6 +3850,7 @@ resourcestring
|
||||
+'called, but no package is registering.';
|
||||
lisPkgSysUnitName = '%s%sUnit Name: %s%s%s';
|
||||
lisPkgSysFileName = '%s%sFile Name: %s%s%s';
|
||||
lisPkgSysLPKFilename = '%s%slpk file: %s%s%s';
|
||||
lisPkgSysPackageRegistrationError = 'Package registration error';
|
||||
lisPkgSysTheRTLFreePascalComponentLibraryProvidesTheBase = 'The RTL - '
|
||||
+'The Run-Time Library is the basis of all Free Pascal programs.';
|
||||
|
@ -1447,6 +1447,9 @@ begin
|
||||
ErrorMsg:=lisPkgSysRegisterUnitWasCalledButNoPackageIsRegistering;
|
||||
end else begin
|
||||
ErrorMsg:='Package: "'+FRegistrationPackage.IDAsString+'"';
|
||||
if not FRegistrationPackage.AutoCreated then
|
||||
ErrorMsg:=Format(lisPkgSysLPKFilename, [ErrorMsg, #13, '"',
|
||||
FRegistrationPackage.Filename, '"']);
|
||||
// current unitname
|
||||
if FRegistrationUnitName<>'' then
|
||||
ErrorMsg:=Format(lisPkgSysUnitName, [ErrorMsg, #13, '"',
|
||||
|
Loading…
Reference in New Issue
Block a user