mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 15:20:33 +02:00
JCF2: localized PreProcessor tab
git-svn-id: trunk@24557 -
This commit is contained in:
parent
b487f853cc
commit
3ccd18bfe1
@ -278,6 +278,14 @@ resourcestring
|
|||||||
lisAsmEnAbled3 = 'En&abled';
|
lisAsmEnAbled3 = 'En&abled';
|
||||||
lisAsmNUmberOfBreaks = 'N&umber of breaks';
|
lisAsmNUmberOfBreaks = 'N&umber of breaks';
|
||||||
|
|
||||||
|
//PreProcessor tab
|
||||||
|
lisPrpPreProcessor = 'PreProcessor';
|
||||||
|
lisPrpEnablePreprocessorParsing = 'Enable preprocessor parsing';
|
||||||
|
lisPrpSymbolsDefinedForConditionalCompilation = 'Symbols defined for '
|
||||||
|
+'conditional compilation:';
|
||||||
|
lisPrpCompilerOptionsDefinedForConditionalCompilation = 'Compiler options '
|
||||||
|
+'defined for conditional compilation:';
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
@ -60,7 +60,7 @@ implementation
|
|||||||
{$R *.lfm}
|
{$R *.lfm}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
JcfHelp, JcfSettings;
|
JcfHelp, JcfSettings, jcfuiconsts;
|
||||||
|
|
||||||
constructor TfPreProcessor.Create(AOwner: TComponent);
|
constructor TfPreProcessor.Create(AOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
@ -70,12 +70,15 @@ end;
|
|||||||
|
|
||||||
function TfPreProcessor.GetTitle: String;
|
function TfPreProcessor.GetTitle: String;
|
||||||
begin
|
begin
|
||||||
Result := 'PreProcessor';
|
Result := lisPrpPreProcessor;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfPreProcessor.Setup(ADialog: TAbstractOptionsEditorDialog);
|
procedure TfPreProcessor.Setup(ADialog: TAbstractOptionsEditorDialog);
|
||||||
begin
|
begin
|
||||||
//
|
cbEnable.Caption := lisPrpEnablePreprocessorParsing;
|
||||||
|
lblSymbols.Caption := lisPrpSymbolsDefinedForConditionalCompilation;
|
||||||
|
lblCompilerOptions.Caption :=
|
||||||
|
lisPrpCompilerOptionsDefinedForConditionalCompilation;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfPreProcessor.ReadSettings(AOptions: TAbstractIDEOptions);
|
procedure TfPreProcessor.ReadSettings(AOptions: TAbstractIDEOptions);
|
||||||
@ -86,7 +89,6 @@ begin
|
|||||||
mSymbols.Lines.Assign(DefinedSymbols);
|
mSymbols.Lines.Assign(DefinedSymbols);
|
||||||
mOptions.Lines.Assign(DefinedOptions);
|
mOptions.Lines.Assign(DefinedOptions);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfPreProcessor.WriteSettings(AOptions: TAbstractIDEOptions);
|
procedure TfPreProcessor.WriteSettings(AOptions: TAbstractIDEOptions);
|
||||||
|
Loading…
Reference in New Issue
Block a user