JCF2: localized PreProcessor tab

git-svn-id: trunk@24557 -
This commit is contained in:
maxim 2010-04-10 17:09:38 +00:00
parent b487f853cc
commit 3ccd18bfe1
2 changed files with 14 additions and 4 deletions

View File

@ -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.

View File

@ -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);