mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 19:00:34 +02:00
Packager: fix a message text.
git-svn-id: trunk@32628 -
This commit is contained in:
parent
525b562ee9
commit
ebda97db9c
@ -3848,8 +3848,7 @@ resourcestring
|
|||||||
lisA2PTheUnitNameIsTheSameAsAnRegisteredComponent = 'The unit name %s%s%s '
|
lisA2PTheUnitNameIsTheSameAsAnRegisteredComponent = 'The unit name %s%s%s '
|
||||||
+'is the same as an registered component.%sUsing this can cause strange '
|
+'is the same as an registered component.%sUsing this can cause strange '
|
||||||
+'error messages.';
|
+'error messages.';
|
||||||
lisA2PFileAlreadyExistsInTheProject = 'File %s%s%s already exists in the '
|
lisA2PFileAlreadyExistsInThePackage = 'File %s%s%s already exists in the package.';
|
||||||
+'project.';
|
|
||||||
lisA2PExistingFile = '%sExisting file: %s%s%s';
|
lisA2PExistingFile = '%sExisting file: %s%s%s';
|
||||||
lisA2PFileAlreadyExists = 'File already exists';
|
lisA2PFileAlreadyExists = 'File already exists';
|
||||||
lisA2PFileIsUsed = 'File is used';
|
lisA2PFileIsUsed = 'File is used';
|
||||||
|
@ -287,7 +287,7 @@ begin
|
|||||||
if FilenameIsAbsolute(AFilename) then begin
|
if FilenameIsAbsolute(AFilename) then begin
|
||||||
PkgFile:=LazPackage.FindPkgFile(AFilename,true,false);
|
PkgFile:=LazPackage.FindPkgFile(AFilename,true,false);
|
||||||
if PkgFile<>nil then begin
|
if PkgFile<>nil then begin
|
||||||
Msg:=Format(lisA2PFileAlreadyExistsInTheProject, ['"', AFilename, '"']);
|
Msg:=Format(lisA2PFileAlreadyExistsInThePackage, ['"', AFilename, '"']);
|
||||||
if PkgFile.Filename<>AFilename then
|
if PkgFile.Filename<>AFilename then
|
||||||
Msg:=Format(lisA2PExistingFile, [#13, '"', PkgFile.Filename, '"']);
|
Msg:=Format(lisA2PExistingFile, [#13, '"', PkgFile.Filename, '"']);
|
||||||
MessageDlg(lisA2PFileAlreadyExists, Msg, mtError, [mbCancel], 0);
|
MessageDlg(lisA2PFileAlreadyExists, Msg, mtError, [mbCancel], 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user