IDEIntf: fixed component delete confirmation text in Object Inspector, bug #19840

git-svn-id: trunk@31840 -
This commit is contained in:
maxim 2011-07-31 12:12:00 +00:00
parent c52dc587e2
commit 015e1adc6a
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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 '