diff --git a/ideintf/fieldseditor.pas b/ideintf/fieldseditor.pas index f22d360872..e64af162f1 100644 --- a/ideintf/fieldseditor.pas +++ b/ideintf/fieldseditor.pas @@ -161,7 +161,7 @@ begin Caption := fesFeTitle + ' - ' + LinkDataset.Name; AddFieldsActn.Caption := oisAddFields; AddFieldsActn.Hint := oisAddFieldsFromFieldDefs; - DeleteFieldsActn.Caption:=oiscDelete; + DeleteFieldsActn.Caption:=oisDeleteComponents; DeleteFieldsActn.Hint:=oisDeleteSelectedFieldS; NewActn.Caption:=oisNew; NewActn.Hint:=oisCreateNewFieldAndAddItAtCurrentPosition; diff --git a/ideintf/objectinspector.pp b/ideintf/objectinspector.pp index 724e4589db..240aa45954 100644 --- a/ideintf/objectinspector.pp +++ b/ideintf/objectinspector.pp @@ -4347,7 +4347,7 @@ procedure TObjectInspectorDlg.ComponentTreeKeyDown(Sender: TObject; begin if (Shift = []) and (Key = VK_DELETE) and (Selection.Count > 0) and - (MessageDlg(oisDeleteComponents, mtConfirmation,[mbYes, mbNo],0) = mrYes) then + (MessageDlg(oiscDelete, mtConfirmation,[mbYes, mbNo],0) = mrYes) then begin OnDeletePopupmenuItemClick(nil); end; diff --git a/ideintf/objinspstrconsts.pas b/ideintf/objinspstrconsts.pas index c8e4959e5c..a0ed2f2507 100644 --- a/ideintf/objinspstrconsts.pas +++ b/ideintf/objinspstrconsts.pas @@ -25,7 +25,7 @@ resourcestring oisItemsSelected = '%u items selected'; oiscAdd = '&Add'; - oiscDelete = '&Delete'; + oiscDelete = 'Delete?'; oisDeleteSelectedFieldS = 'Delete selected field(s)'; oisNew = '&New'; oisCreateNewFieldAndAddItAtCurrentPosition = 'Create new field and add it '