JCF2: localized Uses tab

git-svn-id: trunk@24452 -
This commit is contained in:
maxim 2010-04-05 21:37:26 +00:00
parent 8b24486ec9
commit 10fb108607
2 changed files with 13 additions and 3 deletions

View File

@ -235,6 +235,13 @@ resourcestring
lisFindReplaceEnableFindAndReplace = 'Enable find and replace';
lisFindReplaceWordList = 'Word list:';
//Uses tab
lisUsesUses = 'Uses';
lisUsesRemove = 'Remove';
lisUsesInsertIntoInterface = 'Insert into Interface';
lisUsesInsertIntoImplementation = 'Insert into Implementation';
lisUsesReplace = 'Replace';
implementation
end.

View File

@ -68,7 +68,7 @@ implementation
{$R *.lfm}
uses
JcfHelp, JcfSettings;
JcfHelp, JcfSettings, jcfuiconsts;
constructor TfUses.Create(AOwner: TComponent);
begin
@ -78,12 +78,15 @@ end;
function TfUses.GetTitle: String;
begin
Result := 'Uses';
Result := lisUsesUses;
end;
procedure TfUses.Setup(ADialog: TAbstractOptionsEditorDialog);
begin
//
cbRemoveEnabled.Caption := lisUsesRemove;
cbInsertInterface.Caption := lisUsesInsertIntoInterface;
cbInsertImplementation.Caption := lisUsesInsertIntoImplementation;
cbFindReplace.Caption := lisUsesReplace;
end;