From 6de883b97d2f99ad4b0e0dcc30df7976bed0a2b0 Mon Sep 17 00:00:00 2001 From: lazarus Date: Sat, 9 Feb 2002 02:30:46 +0000 Subject: [PATCH] MG: renamed designerstr.pas to objinspstrconsts.pas git-svn-id: trunk@1422 - --- .gitattributes | 1 + designer/objinspstrconsts.pas | 28 ++++++++++++++++++++++++++++ designer/propedits.pp | 8 ++++---- 3 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 designer/objinspstrconsts.pas diff --git a/.gitattributes b/.gitattributes index 9615242fd0..4282bf053f 100644 --- a/.gitattributes +++ b/.gitattributes @@ -85,6 +85,7 @@ designer/designerstr.pas svneol=native#text/pascal designer/filesystem.pp svneol=native#text/pascal designer/jitforms.pp svneol=native#text/pascal designer/objectinspector.pp svneol=native#text/pascal +designer/objinspstrconsts.pas svneol=native#text/pascal designer/propedits.pp svneol=native#text/pascal designer/scalecompsdlg.pp svneol=native#text/pascal designer/sizecompsdlg.pp svneol=native#text/pascal diff --git a/designer/objinspstrconsts.pas b/designer/objinspstrconsts.pas new file mode 100644 index 0000000000..dbd0612210 --- /dev/null +++ b/designer/objinspstrconsts.pas @@ -0,0 +1,28 @@ +{ + ***************************************************************************** + * * + * See the file COPYING.modifiedLGPL, included in this distribution, * + * for details about the copyright. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * * + ***************************************************************************** +} +unit ObjInspStrConsts; + +{$mode objfpc}{$H+} + +interface + +resourcestring + // component editors commands + oiscAdd = '&Add'; + oiscDelete = '&Delete'; + + +implementation + +end. + diff --git a/designer/propedits.pp b/designer/propedits.pp index dffb5b88b4..cc05e4b6a0 100644 --- a/designer/propedits.pp +++ b/designer/propedits.pp @@ -41,7 +41,8 @@ interface uses Classes, TypInfo, SysUtils, Forms, Controls, GraphType, Graphics, StdCtrls, - Buttons, ComCtrls, Menus, LCLType, ExtCtrls, LCLLinux; + Buttons, ComCtrls, Menus, LCLType, ExtCtrls, LCLLinux, Dialogs, ColumnDlg, + ObjInspStrConsts; const MaxIdentLength: Byte = 63; @@ -1076,7 +1077,6 @@ type implementation -uses Dialogs, ColumnDlg, DesignerStr; const ListPropertyEditors: TList = nil; @@ -2566,7 +2566,7 @@ begin AddButton:= TSpeedButton.Create(Self); With AddButton do begin Parent:= ButtonPanel; - Caption:= liscAdd; + Caption:= oiscAdd; OnClick:= @AddClick; SetBounds(6, 6, 43, 27); end; @@ -2574,7 +2574,7 @@ begin DeleteButton := TSpeedButton.Create(Self); With DeleteButton do begin Parent:= ButtonPanel; - Caption:= liscDelete; + Caption:= oiscDelete; OnClick:= @DeleteCLICK; SetBounds(56, 6, 43, 27); end;