mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 14:19:08 +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';
|
lisCommentsRemoveEmptySlashComments = 'Remove empty ''//'' comments';
|
||||||
lisCommentsRemoveEmptyCurlyBracesComments = '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
|
implementation
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
@ -60,7 +60,7 @@ implementation
|
|||||||
{$R *.lfm}
|
{$R *.lfm}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
JcfHelp, JcfSettings;
|
JcfHelp, JcfSettings, jcfuiconsts;
|
||||||
|
|
||||||
constructor TfWarnings.Create(AOwner: TComponent);
|
constructor TfWarnings.Create(AOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
@ -70,12 +70,15 @@ end;
|
|||||||
|
|
||||||
function TfWarnings.GetTitle: String;
|
function TfWarnings.GetTitle: String;
|
||||||
begin
|
begin
|
||||||
Result := 'Warnings';
|
Result := lisWarningsWarnings;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfWarnings.Setup(ADialog: TAbstractOptionsEditorDialog);
|
procedure TfWarnings.Setup(ADialog: TAbstractOptionsEditorDialog);
|
||||||
begin
|
begin
|
||||||
inherited Setup(ADialog);
|
inherited Setup(ADialog);
|
||||||
|
cbWarningsOn.Caption := lisWarningsWarningsOn;
|
||||||
|
cbWarnUnusedParams.Caption := lisWarningsWarnAboutUnusedParameters;
|
||||||
|
Label1.Caption := lisWarningsIgnoreUnusedParametersNamed;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfWarnings.ReadSettings(AOptions: TAbstractIDEOptions);
|
procedure TfWarnings.ReadSettings(AOptions: TAbstractIDEOptions);
|
||||||
|
Loading…
Reference in New Issue
Block a user