From 10fb108607943644bb8f0a2863bb24b2c0fe6daf Mon Sep 17 00:00:00 2001 From: maxim Date: Mon, 5 Apr 2010 21:37:26 +0000 Subject: [PATCH] JCF2: localized Uses tab git-svn-id: trunk@24452 - --- components/jcf2/IdePlugin/lazarus/jcfuiconsts.pas | 7 +++++++ components/jcf2/Ui/Settings/frUses.pas | 9 ++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/components/jcf2/IdePlugin/lazarus/jcfuiconsts.pas b/components/jcf2/IdePlugin/lazarus/jcfuiconsts.pas index bd1f01b144..0a297a07d2 100644 --- a/components/jcf2/IdePlugin/lazarus/jcfuiconsts.pas +++ b/components/jcf2/IdePlugin/lazarus/jcfuiconsts.pas @@ -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. diff --git a/components/jcf2/Ui/Settings/frUses.pas b/components/jcf2/Ui/Settings/frUses.pas index 04f8269eaa..264dcf1029 100644 --- a/components/jcf2/Ui/Settings/frUses.pas +++ b/components/jcf2/Ui/Settings/frUses.pas @@ -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;