Added help string to select buttons.
Also moved highlight text string to help_common_strings.h Fixes: lp:1497737 * https://bugs.launchpad.net/kicad/+bug/1497737
This commit is contained in:
parent
3d98c82217
commit
e94752a6cf
|
@ -48,8 +48,10 @@
|
|||
#define HELP_DELETE_ITEMS _( "Delete item" )
|
||||
|
||||
// Schematic editor:
|
||||
#define HELP_FIND _( "Find symbols and text" )
|
||||
#define HELP_REPLACE _( "Find and replace text in schematic items" )
|
||||
#define HELP_SELECT _( "Select item" )
|
||||
#define HELP_HIGHLIGHT _( "Highlight net" )
|
||||
#define HELP_FIND _( "Find symbols and text" )
|
||||
#define HELP_REPLACE _( "Find and replace text in schematic items" )
|
||||
#define HELP_PLACE_COMPONENTS _( "Place symbol" )
|
||||
#define HELP_PLACE_POWERPORT _( "Place power port" )
|
||||
#define HELP_PLACE_WIRE _( "Place wire" )
|
||||
|
|
|
@ -55,7 +55,7 @@ void LIB_EDIT_FRAME::ReCreateVToolbar()
|
|||
|
||||
// Set up toolbar
|
||||
m_drawToolBar->AddTool( ID_NO_TOOL_SELECTED, wxEmptyString, KiScaledBitmap( cursor_xpm, this ),
|
||||
_( "Deselect current tool" ), wxITEM_CHECK );
|
||||
HELP_SELECT, wxITEM_CHECK );
|
||||
|
||||
m_drawToolBar->AddTool( ID_LIBEDIT_PIN_BUTT, wxEmptyString, KiScaledBitmap( pin_xpm, this ),
|
||||
HELP_ADD_PIN, wxITEM_CHECK );
|
||||
|
|
|
@ -198,11 +198,11 @@ void SCH_EDIT_FRAME::ReCreateVToolbar()
|
|||
|
||||
// Set up toolbar
|
||||
m_drawToolBar->AddTool( ID_NO_TOOL_SELECTED, wxEmptyString, KiScaledBitmap( cursor_xpm, this ),
|
||||
wxEmptyString, wxITEM_CHECK );
|
||||
HELP_SELECT, wxITEM_CHECK );
|
||||
|
||||
m_drawToolBar->AddTool( ID_HIGHLIGHT, wxEmptyString,
|
||||
KiScaledBitmap( net_highlight_schematic_xpm, this ),
|
||||
_( "Highlight net" ), wxITEM_CHECK );
|
||||
HELP_HIGHLIGHT, wxITEM_CHECK );
|
||||
|
||||
m_drawToolBar->AddTool( ID_SCH_PLACE_COMPONENT, wxEmptyString,
|
||||
KiScaledBitmap( add_component_xpm, this ), HELP_PLACE_COMPONENTS,
|
||||
|
|
|
@ -215,7 +215,7 @@ void GERBVIEW_FRAME::ReCreateVToolbar( void )
|
|||
KICAD_AUI_TB_STYLE | wxAUI_TB_VERTICAL );
|
||||
|
||||
// Set up toolbar
|
||||
m_drawToolBar->AddTool( ID_NO_TOOL_SELECTED, wxEmptyString,
|
||||
m_drawToolBar->AddTool( ID_NO_TOOL_SELECTED, _( "Select item" ),
|
||||
KiScaledBitmap( cursor_xpm, this ) );
|
||||
KiScaledSeparator( m_mainToolBar, this );
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@ void FOOTPRINT_EDIT_FRAME::ReCreateVToolbar()
|
|||
|
||||
// Set up toolbar
|
||||
m_drawToolBar->AddTool( ID_NO_TOOL_SELECTED, wxEmptyString, KiScaledBitmap( cursor_xpm, this ),
|
||||
wxEmptyString, wxITEM_CHECK );
|
||||
_( "Select item" ), wxITEM_CHECK );
|
||||
|
||||
KiScaledSeparator( m_drawToolBar, this );
|
||||
m_drawToolBar->AddTool( ID_MODEDIT_PAD_TOOL, wxEmptyString, KiScaledBitmap( pad_xpm, this ),
|
||||
|
|
|
@ -435,7 +435,7 @@ void PCB_EDIT_FRAME::ReCreateVToolbar()
|
|||
|
||||
// Set up toolbar
|
||||
m_drawToolBar->AddTool( ID_NO_TOOL_SELECTED, wxEmptyString, KiScaledBitmap( cursor_xpm, this ),
|
||||
wxEmptyString, wxITEM_CHECK );
|
||||
_( "Select item" ), wxITEM_CHECK );
|
||||
|
||||
KiScaledSeparator( m_drawToolBar, this );
|
||||
|
||||
|
|
Loading…
Reference in New Issue