From bb4b1cccd415333ff0d3c75bc607f3c0039d34ee Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 8 Dec 2009 09:46:51 +0000 Subject: [PATCH] IDEIntf: added resourcestrings git-svn-id: trunk@23021 - --- ideintf/fieldseditor.lfm | 3 --- ideintf/fieldseditor.pas | 11 +++++++++++ ideintf/objinspstrconsts.pas | 10 ++++++++++ 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/ideintf/fieldseditor.lfm b/ideintf/fieldseditor.lfm index 1f34cfbcd5..ae4e1fd8d6 100644 --- a/ideintf/fieldseditor.lfm +++ b/ideintf/fieldseditor.lfm @@ -64,21 +64,18 @@ object DSFieldsEditorFrm: TDSFieldsEditorFrm object AddFieldsActn: TAction Category = 'Fields' Caption = '&Add fields' - Hint = 'Add fields from FieldDefs' OnExecute = AddFieldsActnExecute ShortCut = 16429 end object DeleteFieldsActn: TAction Category = 'Fields' Caption = '&Delete' - Hint = 'Delete selected field(s)' OnExecute = DeleteFieldsActnExecute ShortCut = 46 end object NewActn: TAction Category = 'Fields' Caption = '&New' - Hint = 'Create new field and add it at current position' OnExecute = NewActnExecute ShortCut = 45 end diff --git a/ideintf/fieldseditor.pas b/ideintf/fieldseditor.pas index 72580feeb7..58d7698131 100644 --- a/ideintf/fieldseditor.pas +++ b/ideintf/fieldseditor.pas @@ -136,6 +136,17 @@ begin LinkDataset := ADataset; FDesigner := ADesigner; Caption := fesFeTitle + ' - ' + LinkDataset.Name; + AddFieldsActn.Caption := oisAddFields; + AddFieldsActn.Hint := oisAddFieldsFromFieldDefs; + DeleteFieldsActn.Caption:=oiscDelete; + DeleteFieldsActn.Hint:=oisDeleteSelectedFieldS; + NewActn.Caption:=oisNew; + NewActn.Hint:=oisCreateNewFieldAndAddItAtCurrentPosition; + MoveUpActn.Caption:=oisMoveUp; + MoveDownActn.Caption:=oisMoveDown; + SelectAllActn.Caption:=oisSelectAll; + UnselectAllActn.Caption:=oisUnselectAll; + FieldsListBox.Clear; RefreshFieldsListBox(False); diff --git a/ideintf/objinspstrconsts.pas b/ideintf/objinspstrconsts.pas index 473c4dfed0..4cd78df114 100644 --- a/ideintf/objinspstrconsts.pas +++ b/ideintf/objinspstrconsts.pas @@ -26,6 +26,14 @@ resourcestring oiscAdd = '&Add'; oiscDelete = '&Delete'; + oisDeleteSelectedFieldS = 'Delete selected field(s)'; + oisNew = '&New'; + oisCreateNewFieldAndAddItAtCurrentPosition = 'Create new field and add it ' + +'at current position'; + oisMoveUp = 'Move &Up'; + oisMoveDown = 'Move &Down'; + oisSelectAll = '&Select all'; + oisUnselectAll = '&Unselect all'; oisConfirmDelete = 'Confirm delete'; oisDeleteItem = 'Delete item %s%s%s?'; oisUnknown = 'Unknown'; @@ -361,6 +369,8 @@ resourcestring // Fields Editor fesFeTitle = 'Edit Fields'; + oisAddFields = '&Add fields'; + oisAddFieldsFromFieldDefs = 'Add fields from FieldDefs'; fesNoFields = 'It was not possible to get the dataset field''s list'; fesCheckDset = 'Check dataset settings'; fesFlTitle = 'FieldDefs';