IDE: project inspector: remove file: fixed caption

git-svn-id: trunk@58027 -
This commit is contained in:
mattias 2018-05-25 07:14:34 +00:00
parent 3daa1d6ea9
commit 2a36fb9062

View File

@ -836,7 +836,7 @@ var
TVNode: TTreeNode; TVNode: TTreeNode;
NodeData: TPENodeData; NodeData: TPENodeData;
Item: TObject; Item: TObject;
Msg: String; Msg, Cap: String;
DeleteCount: Integer; DeleteCount: Integer;
CurFile: TUnitInfo; CurFile: TUnitInfo;
begin begin
@ -867,7 +867,11 @@ begin
if DeleteCount=0 then exit; if DeleteCount=0 then exit;
if DeleteCount>1 then if DeleteCount>1 then
Msg:=Format(lisProjInspRemoveItemsF, [IntToStr(DeleteCount)]); Msg:=Format(lisProjInspRemoveItemsF, [IntToStr(DeleteCount)]);
if IDEMessageDialog(lisProjInspConfirmDeletingDependency, if CurFile<>nil then
Cap:=lisProjInspConfirmRemovingFile
else
Cap:=lisProjInspConfirmDeletingDependency;
if IDEMessageDialog(Cap,
Msg, mtConfirmation,[mbYes,mbNo])<>mrYes then exit; Msg, mtConfirmation,[mbYes,mbNo])<>mrYes then exit;
// delete // delete