From d3099e94507389483730e635ddcc6b22a9e185a4 Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 24 Jan 2008 18:38:43 +0000 Subject: [PATCH] IDE: renamed some more lazdoc identifiers with codehelp git-svn-id: trunk@13862 - --- ide/environmentopts.pp | 6 ++--- ide/environmentopts_new.pp | 6 ++--- ide/fpdoceditwindow.pas | 54 ++++++++++++++++++------------------- ide/lazarusidestrconsts.pas | 42 ++++++++++++++--------------- ide/projectopts.pp | 6 ++--- ide/projectopts_new.pp | 6 ++--- 6 files changed, 60 insertions(+), 60 deletions(-) diff --git a/ide/environmentopts.pp b/ide/environmentopts.pp index 64ae0e5f62..5c44fec473 100644 --- a/ide/environmentopts.pp +++ b/ide/environmentopts.pp @@ -2052,9 +2052,9 @@ procedure TEnvironmentOptionsDialog.SetupLazDocPage(Page: integer); begin NoteBook.Page[Page].Caption := lisFPDocEditor; - LazDocPathsGroupBox.Caption := lisLazDocPathsGroupBox; - LazDocAddPathButton.Caption := lisLazDocAddPathButton; - LazDocDeletePathButton.Caption := lisLazDocDeletePathButton; + LazDocPathsGroupBox.Caption := lisCodeHelpPathsGroupBox; + LazDocAddPathButton.Caption := lisCodeHelpAddPathButton; + LazDocDeletePathButton.Caption := lisCodeHelpDeletePathButton; LazDocPathEdit.Clear; end; diff --git a/ide/environmentopts_new.pp b/ide/environmentopts_new.pp index d9599c22e1..a4f09924a7 100644 --- a/ide/environmentopts_new.pp +++ b/ide/environmentopts_new.pp @@ -801,9 +801,9 @@ procedure TEnvironmentOptionsDialogNew.SetupLazDocPage(Page: integer); begin NoteBook.Page[Page].Caption := lisFPDocEditor; - LazDocPathsGroupBox.Caption := lisLazDocPathsGroupBox; - LazDocAddPathButton.Caption := lisLazDocAddPathButton; - LazDocDeletePathButton.Caption := lisLazDocDeletePathButton; + LazDocPathsGroupBox.Caption := lisCodeHelpPathsGroupBox; + LazDocAddPathButton.Caption := lisCodeHelpAddPathButton; + LazDocDeletePathButton.Caption := lisCodeHelpDeletePathButton; LazDocPathEdit.Clear; end; diff --git a/ide/fpdoceditwindow.pas b/ide/fpdoceditwindow.pas index 73377475fb..1b20993bea 100644 --- a/ide/fpdoceditwindow.pas +++ b/ide/fpdoceditwindow.pas @@ -213,35 +213,35 @@ end; procedure TFPDocEditor.FormCreate(Sender: TObject); begin - Caption := lisLazDocMainFormCaption; + Caption := lisCodeHelpMainFormCaption; with PageControl do begin - Page[0].Caption := lisLazDocShortTag; - Page[1].Caption := lisLazDocDescrTag; - Page[2].Caption := lisLazDocErrorsTag; - Page[3].Caption := lisLazDocSeeAlsoTag; - Page[4].Caption := lisLazDocExampleTag; - Page[5].Caption := lisLazDocInherited; + Page[0].Caption := lisCodeHelpShortTag; + Page[1].Caption := lisCodeHelpDescrTag; + Page[2].Caption := lisCodeHelpErrorsTag; + Page[3].Caption := lisCodeHelpSeeAlsoTag; + Page[4].Caption := lisCodeHelpExampleTag; + Page[5].Caption := lisCodeHelpInherited; PageIndex := 0; end; - BoldFormatButton.Hint := lisLazDocHintBoldFormat; - ItalicFormatButton.Hint := lisLazDocHintItalicFormat; - UnderlineFormatButton.Hint := lisLazDocHintUnderlineFormat; - InsertCodeTagButton.Hint := lisLazDocHintInsertCodeTag; - InsertRemarkButton.Hint := lisLazDocHintRemarkTag; - InsertVarTagButton.Hint := lisLazDocHintVarTag; + BoldFormatButton.Hint := lisCodeHelpHintBoldFormat; + ItalicFormatButton.Hint := lisCodeHelpHintItalicFormat; + UnderlineFormatButton.Hint := lisCodeHelpHintUnderlineFormat; + InsertCodeTagButton.Hint := lisCodeHelpHintInsertCodeTag; + InsertRemarkButton.Hint := lisCodeHelpHintRemarkTag; + InsertVarTagButton.Hint := lisCodeHelpHintVarTag; CreateButton.Caption := 'Create help item'; CreateButton.Enabled:=false; SaveButton.Caption := 'Save'; SaveButton.Enabled:=false; - AddLinkButton.Caption := lisLazDocAddLinkButton; - DeleteLinkButton.Caption := lisLazDocDeleteLinkButton; + AddLinkButton.Caption := lisCodeHelpAddLinkButton; + DeleteLinkButton.Caption := lisCodeHelpDeleteLinkButton; - BrowseExampleButton.Caption := lisLazDocBrowseExampleButton; + BrowseExampleButton.Caption := lisCodeHelpBrowseExampleButton; MoveToInheritedButton.Caption:=lisLDMoveEntriesToInherited; CopyFromInheritedButton.Caption:=lisLDCopyFromInherited; @@ -273,9 +273,9 @@ procedure TFPDocEditor.FormatButtonClick(Sender: TObject); procedure InsertTag(starttag, endtag: String); begin - if PageControl.ActivePage.Caption = lisLazDocDescrTag then + if PageControl.ActivePage.Caption = lisCodeHelpDescrTag then DescrMemo.SelText := starttag + DescrMemo.SelText + endtag; - if PageControl.ActivePage.Caption = lisLazDocErrorsTag then + if PageControl.ActivePage.Caption = lisCodeHelpErrorsTag then ErrorsMemo.SelText := starttag + ErrorsMemo.SelText + endtag; end; @@ -465,17 +465,17 @@ begin {$IFDEF VerboseCodeHelp} DebugLn(['TFPDocEditForm.UpdateCaption START']); {$ENDIF} - strCaption := lisLazDocMainFormCaption + ' - '; + strCaption := lisCodeHelpMainFormCaption + ' - '; if (fChain <> nil) and (fChain.Count>0) then strCaption := strCaption + GetContextTitle(fChain[0]) + ' - ' else - strCaption := strCaption + lisLazDocNoTagCaption + ' - '; + strCaption := strCaption + lisCodeHelpNoTagCaption + ' - '; if DocFile<>nil then Caption := strCaption + DocFile.Filename else - Caption := strCaption + lisLazDocNoTagCaption; + Caption := strCaption + lisCodeHelpNoTagCaption; {$IFDEF VerboseCodeHelp} DebugLn(['TLazDocForm.UpdateCaption ',Caption]); {$ENDIF} @@ -628,13 +628,13 @@ begin end else begin - ShortEdit.Text := lisLazDocNoDocumentation; - DescrMemo.Lines.Text := lisLazDocNoDocumentation; - ErrorsMemo.Lines.Text := lisLazDocNoDocumentation; - LinkIdComboBox.Text := lisLazDocNoDocumentation; - LinkTextEdit.Text := lisLazDocNoDocumentation; + ShortEdit.Text := lisCodeHelpNoDocumentation; + DescrMemo.Lines.Text := lisCodeHelpNoDocumentation; + ErrorsMemo.Lines.Text := lisCodeHelpNoDocumentation; + LinkIdComboBox.Text := lisCodeHelpNoDocumentation; + LinkTextEdit.Text := lisCodeHelpNoDocumentation; LinkListBox.Clear; - ExampleEdit.Text := lisLazDocNoDocumentation; + ExampleEdit.Text := lisCodeHelpNoDocumentation; end; ShortEdit.Enabled := EnabledState; diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 8361e5130d..b134f0a79f 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -3470,29 +3470,29 @@ resourcestring lisCEOModeSource = 'Source'; lisMenuFPDocEditor = 'FPDoc Editor'; - lisLazDocMainFormCaption = 'LazDoc editor'; - lisLazDocNoTagCaption = ''; - lisLazDocNoDocumentation = 'Documentation entry does not exist'; - lisLazDocInherited = 'Inherited'; - lisLazDocShortTag = 'Short'; - lisLazDocDescrTag = 'Description'; - lisLazDocErrorsTag = 'Errors'; - lisLazDocSeeAlsoTag = 'See also'; - lisLazDocAddPathButton = 'Add path'; - lisLazDocDeletePathButton = 'Remove path'; + lisCodeHelpMainFormCaption = 'FPDoc editor'; + lisCodeHelpNoTagCaption = ''; + lisCodeHelpNoDocumentation = 'Documentation entry does not exist'; + lisCodeHelpInherited = 'Inherited'; + lisCodeHelpShortTag = 'Short'; + lisCodeHelpDescrTag = 'Description'; + lisCodeHelpErrorsTag = 'Errors'; + lisCodeHelpSeeAlsoTag = 'See also'; + lisCodeHelpAddPathButton = 'Add path'; + lisCodeHelpDeletePathButton = 'Remove path'; lisEONOTEOnlyAbsolutePathsAreSupportedNow = 'NOTE: only absolute paths are ' +'supported now'; - lisLazDocPathsGroupBox = 'LazDoc settings'; - lisLazDocHintBoldFormat = 'Insert bold formatting tag'; - lisLazDocHintItalicFormat = 'Insert italic formatting tag'; - lisLazDocHintUnderlineFormat = 'Insert underline formatting tag'; - lisLazDocHintInsertCodeTag = 'Insert code formatting tag'; - lisLazDocHintRemarkTag = 'Insert remark formatting tag'; - lisLazDocHintVarTag = 'Insert var formatting tag'; - lisLazDocAddLinkButton = 'Add link'; - lisLazDocDeleteLinkButton = 'Delete link'; - lisLazDocExampleTag = 'Example'; - lisLazDocBrowseExampleButton = 'Browse'; + lisCodeHelpPathsGroupBox = 'LazDoc settings'; + lisCodeHelpHintBoldFormat = 'Insert bold formatting tag'; + lisCodeHelpHintItalicFormat = 'Insert italic formatting tag'; + lisCodeHelpHintUnderlineFormat = 'Insert underline formatting tag'; + lisCodeHelpHintInsertCodeTag = 'Insert code formatting tag'; + lisCodeHelpHintRemarkTag = 'Insert remark formatting tag'; + lisCodeHelpHintVarTag = 'Insert var formatting tag'; + lisCodeHelpAddLinkButton = 'Add link'; + lisCodeHelpDeleteLinkButton = 'Delete link'; + lisCodeHelpExampleTag = 'Example'; + lisCodeHelpBrowseExampleButton = 'Browse'; lisLDMoveEntriesToInherited = 'Move entries to inherited'; lisLDCopyFromInherited = 'Copy from inherited'; lisEnableMacros = 'Enable Macros'; diff --git a/ide/projectopts.pp b/ide/projectopts.pp index e52378c33f..f5533df321 100644 --- a/ide/projectopts.pp +++ b/ide/projectopts.pp @@ -266,9 +266,9 @@ procedure TProjectOptionsDialog.SetupLazDocPage(PageIndex: Integer); begin NoteBook.Page[PageIndex].Caption := lisFPDocEditor; - LazDocPathsGroupBox.Caption := lisLazDocPathsGroupBox; - LazDocAddPathButton.Caption := lisLazDocAddPathButton; - LazDocDeletePathButton.Caption := lisLazDocDeletePathButton; + LazDocPathsGroupBox.Caption := lisCodeHelpPathsGroupBox; + LazDocAddPathButton.Caption := lisCodeHelpAddPathButton; + LazDocDeletePathButton.Caption := lisCodeHelpDeletePathButton; LazDocPathEdit.Clear; end; diff --git a/ide/projectopts_new.pp b/ide/projectopts_new.pp index 4ed3fc4738..0415fc71d3 100644 --- a/ide/projectopts_new.pp +++ b/ide/projectopts_new.pp @@ -269,9 +269,9 @@ procedure TProjectOptionsDialogNew.SetupLazDocPage(PageIndex: Integer); begin NoteBook.Page[PageIndex].Caption := lisFPDocEditor; - LazDocPathsGroupBox.Caption := lisLazDocPathsGroupBox; - LazDocAddPathButton.Caption := lisLazDocAddPathButton; - LazDocDeletePathButton.Caption := lisLazDocDeletePathButton; + LazDocPathsGroupBox.Caption := lisCodeHelpPathsGroupBox; + LazDocAddPathButton.Caption := lisCodeHelpAddPathButton; + LazDocDeletePathButton.Caption := lisCodeHelpDeletePathButton; LazDocPathEdit.Clear; end;