mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 07:36:14 +02:00
IDEIntf: fixed component delete confirmation text in Object Inspector, bug #19840
git-svn-id: trunk@31840 -
This commit is contained in:
parent
c52dc587e2
commit
015e1adc6a
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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 '
|
||||
|
Loading…
Reference in New Issue
Block a user