JCF2: localized Warnings tab

git-svn-id: trunk@24374 -
This commit is contained in:
maxim 2010-04-02 22:20:02 +00:00
parent 78e034b7c7
commit ddaf9ff104
2 changed files with 11 additions and 2 deletions

View File

@ -194,6 +194,12 @@ resourcestring
lisCommentsRemoveEmptySlashComments = 'Remove empty ''//'' comments';
lisCommentsRemoveEmptyCurlyBracesComments = 'Remove empty ''{ }'' comments';
//Warnings tab
lisWarningsWarnings = 'Warnings';
lisWarningsWarningsOn = '&Warnings On';
lisWarningsWarnAboutUnusedParameters = 'Warn about &unused parameters';
lisWarningsIgnoreUnusedParametersNamed = '&Ignore unused parameters named:';
implementation
end.

View File

@ -60,7 +60,7 @@ implementation
{$R *.lfm}
uses
JcfHelp, JcfSettings;
JcfHelp, JcfSettings, jcfuiconsts;
constructor TfWarnings.Create(AOwner: TComponent);
begin
@ -70,12 +70,15 @@ end;
function TfWarnings.GetTitle: String;
begin
Result := 'Warnings';
Result := lisWarningsWarnings;
end;
procedure TfWarnings.Setup(ADialog: TAbstractOptionsEditorDialog);
begin
inherited Setup(ADialog);
cbWarningsOn.Caption := lisWarningsWarningsOn;
cbWarnUnusedParams.Caption := lisWarningsWarnAboutUnusedParameters;
Label1.Caption := lisWarningsIgnoreUnusedParametersNamed;
end;
procedure TfWarnings.ReadSettings(AOptions: TAbstractIDEOptions);