mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-03 14:44:28 +02:00

1) improved localization of FPCUnitIDE. Patch from Marcelo B Paula. Part of bug #16484. 2) Added FPCUnitIDE translations: Portuguese (from Marcelo B Paula) and Russian. git-svn-id: trunk@25468 -
58 lines
1.0 KiB
ObjectPascal
58 lines
1.0 KiB
ObjectPascal
unit testcaseopts;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls,
|
|
ExtCtrls, Buttons, strtestcaseopts;
|
|
|
|
type
|
|
|
|
{ TTestCaseOptionsForm }
|
|
|
|
TTestCaseOptionsForm = class(TForm)
|
|
btnAccept: TButton;
|
|
cbSetup: TCheckBox;
|
|
cbTeardown: TCheckBox;
|
|
edDefaultName: TEdit;
|
|
gbNames: TGroupBox;
|
|
gbFixture: TGroupBox;
|
|
Label1: TLabel;
|
|
Panel1: TPanel;
|
|
procedure btnAcceptClick(Sender: TObject);
|
|
procedure FormCreate(Sender: TObject);
|
|
private
|
|
{ private declarations }
|
|
public
|
|
{ public declarations }
|
|
end;
|
|
|
|
|
|
implementation
|
|
|
|
{$R *.lfm}
|
|
|
|
{ TTestCaseOptionsForm }
|
|
|
|
procedure TTestCaseOptionsForm.btnAcceptClick(Sender: TObject);
|
|
begin
|
|
Close;
|
|
end;
|
|
|
|
procedure TTestCaseOptionsForm.FormCreate(Sender: TObject);
|
|
begin
|
|
//
|
|
Caption := sfrmTest;
|
|
gbNames.Caption:= sgrpNames;
|
|
gbFixture.Caption:= sgrpFixture;
|
|
label1.Caption:= slblDefault;
|
|
cbSetup.Caption:= schkSetup;
|
|
cbTeardown.Caption:= schkTear;
|
|
btnAccept.Caption:= sbtnCreate;
|
|
end;
|
|
|
|
end.
|
|
|