mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 15:00:26 +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';
|
||||
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
|
||||
|
||||
end.
|
||||
|
@ -60,7 +60,7 @@ implementation
|
||||
{$R *.lfm}
|
||||
|
||||
uses
|
||||
JcfHelp, JcfSettings;
|
||||
JcfHelp, JcfSettings, jcfuiconsts;
|
||||
|
||||
constructor TfPreProcessor.Create(AOwner: TComponent);
|
||||
begin
|
||||
@ -70,12 +70,15 @@ end;
|
||||
|
||||
function TfPreProcessor.GetTitle: String;
|
||||
begin
|
||||
Result := 'PreProcessor';
|
||||
Result := lisPrpPreProcessor;
|
||||
end;
|
||||
|
||||
procedure TfPreProcessor.Setup(ADialog: TAbstractOptionsEditorDialog);
|
||||
begin
|
||||
//
|
||||
cbEnable.Caption := lisPrpEnablePreprocessorParsing;
|
||||
lblSymbols.Caption := lisPrpSymbolsDefinedForConditionalCompilation;
|
||||
lblCompilerOptions.Caption :=
|
||||
lisPrpCompilerOptionsDefinedForConditionalCompilation;
|
||||
end;
|
||||
|
||||
procedure TfPreProcessor.ReadSettings(AOptions: TAbstractIDEOptions);
|
||||
@ -86,7 +89,6 @@ begin
|
||||
mSymbols.Lines.Assign(DefinedSymbols);
|
||||
mOptions.Lines.Assign(DefinedOptions);
|
||||
end;
|
||||
|
||||
end;
|
||||
|
||||
procedure TfPreProcessor.WriteSettings(AOptions: TAbstractIDEOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user