Unify library browser terminology.
Fixes: lp:1813882 * https://bugs.launchpad.net/kicad/+bug/1813882
This commit is contained in:
parent
626dc7d9cf
commit
ca0164aa07
|
@ -168,7 +168,7 @@ void LIB_EDIT_FRAME::ReCreateMenuBar()
|
||||||
|
|
||||||
AddMenuItem( viewMenu,
|
AddMenuItem( viewMenu,
|
||||||
ID_TO_LIBVIEW,
|
ID_TO_LIBVIEW,
|
||||||
_( "Library Browser" ),
|
_( "Symbol Library Browser" ),
|
||||||
_( "Open the symbol viewer" ),
|
_( "Open the symbol viewer" ),
|
||||||
KiBitmap( library_browse_xpm ) );
|
KiBitmap( library_browse_xpm ) );
|
||||||
|
|
||||||
|
|
|
@ -131,7 +131,7 @@ void prepareViewMenu( wxMenu* aParentMenu )
|
||||||
|
|
||||||
AddMenuItem( aParentMenu,
|
AddMenuItem( aParentMenu,
|
||||||
ID_TO_LIBVIEW,
|
ID_TO_LIBVIEW,
|
||||||
_( "Library &Browser" ), HELP_RUN_LIB_VIEWER,
|
_( "Symbol Library &Browser" ), HELP_RUN_LIB_VIEWER,
|
||||||
KiBitmap( library_browse_xpm ) );
|
KiBitmap( library_browse_xpm ) );
|
||||||
|
|
||||||
AddMenuItem( aParentMenu,
|
AddMenuItem( aParentMenu,
|
||||||
|
|
|
@ -103,7 +103,7 @@ END_EVENT_TABLE()
|
||||||
|
|
||||||
LIB_VIEW_FRAME::LIB_VIEW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrameType,
|
LIB_VIEW_FRAME::LIB_VIEW_FRAME( KIWAY* aKiway, wxWindow* aParent, FRAME_T aFrameType,
|
||||||
const wxString& aLibraryName ) :
|
const wxString& aLibraryName ) :
|
||||||
SCH_BASE_FRAME( aKiway, aParent, aFrameType, _( "Library Browser" ),
|
SCH_BASE_FRAME( aKiway, aParent, aFrameType, _( "Symbol Library Browser" ),
|
||||||
wxDefaultPosition, wxDefaultSize,
|
wxDefaultPosition, wxDefaultSize,
|
||||||
aFrameType == FRAME_SCH_VIEWER_MODAL ? LIB_VIEW_STYLE_MODAL : LIB_VIEW_STYLE,
|
aFrameType == FRAME_SCH_VIEWER_MODAL ? LIB_VIEW_STYLE_MODAL : LIB_VIEW_STYLE,
|
||||||
aFrameType == FRAME_SCH_VIEWER_MODAL ? LIB_VIEW_NAME_MODAL : LIB_VIEW_NAME ),
|
aFrameType == FRAME_SCH_VIEWER_MODAL ? LIB_VIEW_NAME_MODAL : LIB_VIEW_NAME ),
|
||||||
|
|
|
@ -725,7 +725,7 @@ void FOOTPRINT_VIEWER_FRAME::UpdateTitle()
|
||||||
wxString title;
|
wxString title;
|
||||||
wxString path;
|
wxString path;
|
||||||
|
|
||||||
title.Printf( _( "Library Browser" ) + L" \u2014 %s",
|
title.Printf( _( "Footprint Library Browser" ) + L" \u2014 %s",
|
||||||
getCurNickname().size()
|
getCurNickname().size()
|
||||||
? getCurNickname()
|
? getCurNickname()
|
||||||
: _( "no library selected" ) );
|
: _( "no library selected" ) );
|
||||||
|
|
|
@ -191,8 +191,8 @@ void FOOTPRINT_EDIT_FRAME::ReCreateMenuBar()
|
||||||
wxMenu* viewMenu = new wxMenu;
|
wxMenu* viewMenu = new wxMenu;
|
||||||
|
|
||||||
AddMenuItem( viewMenu, ID_OPEN_MODULE_VIEWER,
|
AddMenuItem( viewMenu, ID_OPEN_MODULE_VIEWER,
|
||||||
_( "&Library Browser" ),
|
_( "Footprint &Library Browser" ),
|
||||||
_( "Open the Library Browser" ),
|
_( "Browse footprint libraries" ),
|
||||||
KiBitmap( modview_icon_xpm ) );
|
KiBitmap( modview_icon_xpm ) );
|
||||||
|
|
||||||
text = AddHotkeyName( _( "&3D Viewer" ), m_hotkeysDescrList, HK_3D_VIEWER );
|
text = AddHotkeyName( _( "&3D Viewer" ), m_hotkeysDescrList, HK_3D_VIEWER );
|
||||||
|
|
|
@ -546,8 +546,8 @@ void prepareViewMenu( wxMenu* aParentMenu, bool aUseGal )
|
||||||
KiBitmap( mw_toolbar_xpm ), wxITEM_CHECK );
|
KiBitmap( mw_toolbar_xpm ), wxITEM_CHECK );
|
||||||
|
|
||||||
AddMenuItem( aParentMenu, ID_OPEN_MODULE_VIEWER,
|
AddMenuItem( aParentMenu, ID_OPEN_MODULE_VIEWER,
|
||||||
_( "&Library Browser" ),
|
_( "Footprint &Library Browser" ),
|
||||||
_( "Open the Library Browser" ),
|
_( "Browse footprint libraries" ),
|
||||||
KiBitmap( modview_icon_xpm ) );
|
KiBitmap( modview_icon_xpm ) );
|
||||||
|
|
||||||
text = AddHotkeyName( _( "&3D Viewer" ), g_Board_Editor_Hotkeys_Descr, HK_3D_VIEWER );
|
text = AddHotkeyName( _( "&3D Viewer" ), g_Board_Editor_Hotkeys_Descr, HK_3D_VIEWER );
|
||||||
|
|
|
@ -42,4 +42,5 @@ target_link_libraries( qa_utils
|
||||||
|
|
||||||
target_include_directories( qa_utils PUBLIC
|
target_include_directories( qa_utils PUBLIC
|
||||||
include
|
include
|
||||||
|
${Boost_INCLUDE_DIR}
|
||||||
)
|
)
|
Loading…
Reference in New Issue