mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 16:40:18 +02:00
JCF2: localized Warnings tab
git-svn-id: trunk@24374 -
This commit is contained in:
parent
78e034b7c7
commit
ddaf9ff104
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user