IDE, editor_color_options: Add some captions to tool-buttons

git-svn-id: trunk@61094 -
This commit is contained in:
martin 2019-04-30 21:03:08 +00:00
parent dd418297c7
commit f62d14900f
3 changed files with 10 additions and 5 deletions

View File

@ -48,6 +48,7 @@ object EditorColorOptionsFrame: TEditorColorOptionsFrame
BorderSpacing.Right = 3
Caption = 'ToolBar1'
EdgeBorders = [ebBottom]
List = True
ParentShowHint = False
ShowCaptions = True
ShowHint = True
@ -56,7 +57,6 @@ object EditorColorOptionsFrame: TEditorColorOptionsFrame
Left = 115
Top = 0
OnClick = SetAttributeToDefaultButtonClick
ShowCaption = False
end
object ToolButton3: TToolButton
Left = 107
@ -1130,6 +1130,7 @@ object EditorColorOptionsFrame: TEditorColorOptionsFrame
AutoSize = True
Caption = 'ToolBar'
EdgeBorders = [ebBottom]
List = True
ParentShowHint = False
ShowCaptions = True
ShowHint = True
@ -1138,7 +1139,6 @@ object EditorColorOptionsFrame: TEditorColorOptionsFrame
Left = 1
Top = 0
OnClick = GeneralCheckBoxOnChange
ShowCaption = False
Style = tbsCheck
end
object ToolButton2: TToolButton
@ -1191,13 +1191,11 @@ object EditorColorOptionsFrame: TEditorColorOptionsFrame
Left = 239
Top = 0
OnClick = btnExportClick
ShowCaption = False
end
object SetAllAttributesToDefaultButton: TToolButton
Left = 262
Top = 0
OnClick = SetAllAttributesToDefaultButtonClick
ShowCaption = False
end
end
object ExportSaveDialog: TSaveDialog

View File

@ -1480,16 +1480,20 @@ begin
UseSyntaxHighlightCheckBox.ImageIndex := IDEImages.LoadImage('laz_highlighter');
UseSyntaxHighlightCheckBox.Caption := dlgUseHighlight;
UseSyntaxHighlightCheckBox.Hint := dlgUseSyntaxHighlight;
LanguageButton.Hint := dlgLang;
ColorSchemeButton.Hint := dlgClrScheme;
FileExtensionsComboBox.hint := dlgFileExts;
SetAttributeToDefaultButton.ImageIndex := IDEImages.LoadImage('restore_default');
SetAttributeToDefaultButton.Hint := dlgSetElementDefault;
SetAttributeToDefaultButton.Caption := dlgReset;
SetAllAttributesToDefaultButton.ImageIndex := IDEImages.LoadImage('restore_defaults');
SetAllAttributesToDefaultButton.Hint := dlgSetAllElementDefault;
SetAllAttributesToDefaultButton.Caption := dlgResetAll;
btnExport.ImageIndex := IDEImages.LoadImage('laz_save');
btnExport.Hint := lisExport;
btnExport.Caption := lisExport;
//btnExport.Hint := lisExport;
lbLocalGlobal.Caption := dlgThisElementUsesColor;
rbGlobalAttr.Caption := dlgUseSchemeDefaults;

View File

@ -1722,6 +1722,7 @@ resourcestring
dlgUndoAfterSave = 'Undo after save';
dlgFindTextatCursor = 'Find text at cursor';
dlgUseHighlight = 'Use Highlight';
dlgUseSyntaxHighlight = 'Use syntax highlight';
dlgUseCodeFolding = 'Code Folding';
dlgCodeFoldEnableFold = 'Fold';
@ -1944,6 +1945,8 @@ resourcestring
dlgFileExts = 'File extensions';
dlgSetElementDefault = 'Set element to default';
dlgSetAllElementDefault = 'Set all elements to default';
dlgReset = 'Reset';
dlgResetAll = 'Reset all';
dlgThisElementUsesColor = 'The element uses (and edits) the schemes:';
dlgUseSchemeDefaults = '- Scheme globals -';
dlgUseSchemeLocal = 'selected language';