Minor fixes: fix UI capitalization issues, and better comment in a menu.
This commit is contained in:
parent
1338ff02f9
commit
9a6e5734bf
|
@ -648,13 +648,13 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
|
|||
wxMenu* submenuActionPluginsMenu = new wxMenu();
|
||||
|
||||
AddMenuItem( toolsMenu, submenuActionPluginsMenu, ID_TOOLBARH_PCB_ACTION_PLUGIN,
|
||||
_( "&External plugins" ),
|
||||
_( "Give access to python action plugin" ),
|
||||
_( "&External Plugins" ),
|
||||
_( "Execute or reload python action plugins" ),
|
||||
KiBitmap( hammer_xpm ) );
|
||||
|
||||
AddMenuItem( submenuActionPluginsMenu, ID_TOOLBARH_PCB_ACTION_PLUGIN_REFRESH,
|
||||
_( "&Refresh" ),
|
||||
_( "Reload all python plugins and refresh menu" ),
|
||||
_( "&Refresh Plugins" ),
|
||||
_( "Reload all python plugins and refresh plugin menus" ),
|
||||
KiBitmap( reload_xpm ) );
|
||||
|
||||
submenuActionPluginsMenu->AppendSeparator();
|
||||
|
|
|
@ -139,7 +139,7 @@ TOOL_ACTION COMMON_ACTIONS::removeAlt( "pcbnew.InteractiveEdit.removeAlt",
|
|||
|
||||
TOOL_ACTION COMMON_ACTIONS::exchangeFootprints( "pcbnew.InteractiveEdit.ExchangeFootprints",
|
||||
AS_GLOBAL, 0,
|
||||
_( "Exchange footprint(s)" ), _( "Change the footprint used for modules" ),
|
||||
_( "Exchange Footprint(s)" ), _( "Change the footprint used for modules" ),
|
||||
import_module_xpm );
|
||||
|
||||
|
||||
|
@ -472,19 +472,19 @@ TOOL_ACTION COMMON_ACTIONS::moduleTextOutlines( "pcbnew.ModuleEditor.textOutline
|
|||
TOOL_ACTION COMMON_ACTIONS::exportPadSettings(
|
||||
"pcbnew.PadTool.ExportPadSettings",
|
||||
AS_GLOBAL, 0,
|
||||
_( "Export pad settings" ), _( "Copy current pad's settings to the board design settings" ),
|
||||
_( "Export Pad Settings" ), _( "Copy current pad's settings to the board design settings" ),
|
||||
export_options_pad_xpm );
|
||||
|
||||
TOOL_ACTION COMMON_ACTIONS::importPadSettings(
|
||||
"pcbnew.PadTool.ImportPadSettings",
|
||||
AS_GLOBAL, 0,
|
||||
_( "Import pad settings" ), _( "Copy the board design settings pad properties to the current pad" ),
|
||||
_( "Import Pad Settings" ), _( "Copy the board design settings pad properties to the current pad" ),
|
||||
options_new_pad_xpm );
|
||||
|
||||
TOOL_ACTION COMMON_ACTIONS::pushPadSettings(
|
||||
"pcbnew.PadTool.PushPadSettings",
|
||||
AS_GLOBAL, 0,
|
||||
_( "Push pad settings" ), _( "Copy the current pad settings to other pads" ),
|
||||
_( "Push Pad Settings" ), _( "Copy the current pad settings to other pads" ),
|
||||
global_options_pad_xpm );
|
||||
|
||||
// Cursor control
|
||||
|
|
|
@ -226,7 +226,7 @@ int PAD_TOOL::importPadSettings( const TOOL_EVENT& aEvent )
|
|||
}
|
||||
}
|
||||
|
||||
commit.Push( _( "Import pad settings" ) );
|
||||
commit.Push( _( "Import Pad Settings" ) );
|
||||
|
||||
m_toolMgr->RunAction( COMMON_ACTIONS::editModifiedSelection, true );
|
||||
frame.Refresh();
|
||||
|
@ -275,7 +275,7 @@ static void globalChangePadSettings( BOARD& board,
|
|||
// pads to aply the src pad settings to
|
||||
if( moduleRef == nullptr )
|
||||
{
|
||||
wxLogDebug( _( "globalChangePadSettings() Error: NULL module" ) );
|
||||
wxLogDebug( "globalChangePadSettings() Error: NULL module" );
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -380,7 +380,7 @@ int PAD_TOOL::pushPadSettings( const TOOL_EVENT& aEvent )
|
|||
DIALOG_GLOBAL_PADS_EDITION::m_Pad_Orient_Filter,
|
||||
DIALOG_GLOBAL_PADS_EDITION::m_Pad_Layer_Filter );
|
||||
|
||||
commit.Push( _( "Import pad settings" ) );
|
||||
commit.Push( _( "Import Pad Settings" ) );
|
||||
|
||||
m_toolMgr->RunAction( COMMON_ACTIONS::editModifiedSelection, true );
|
||||
frame.Refresh();
|
||||
|
|
Loading…
Reference in New Issue