i18n pcbnew GAL popup menu entries
This commit is contained in:
parent
722435f317
commit
04ffd0a4ac
|
@ -183,11 +183,11 @@ TOOL_ACTION COMMON_ACTIONS::arcPosture( "pcbnew.InteractiveDrawing.arcPosture",
|
||||||
// View Controls
|
// View Controls
|
||||||
TOOL_ACTION COMMON_ACTIONS::zoomIn( "common.Control.zoomIn",
|
TOOL_ACTION COMMON_ACTIONS::zoomIn( "common.Control.zoomIn",
|
||||||
AS_GLOBAL, WXK_F1,
|
AS_GLOBAL, WXK_F1,
|
||||||
"Zoom In", "", zoom_in_xpm );
|
_( "Zoom In" ), "", zoom_in_xpm );
|
||||||
|
|
||||||
TOOL_ACTION COMMON_ACTIONS::zoomOut( "common.Control.zoomOut",
|
TOOL_ACTION COMMON_ACTIONS::zoomOut( "common.Control.zoomOut",
|
||||||
AS_GLOBAL, WXK_F2,
|
AS_GLOBAL, WXK_F2,
|
||||||
"Zoom Out", "", zoom_out_xpm );
|
_( "Zoom Out" ), "", zoom_out_xpm );
|
||||||
|
|
||||||
TOOL_ACTION COMMON_ACTIONS::zoomInCenter( "common.Control.zoomInCenter",
|
TOOL_ACTION COMMON_ACTIONS::zoomInCenter( "common.Control.zoomInCenter",
|
||||||
AS_GLOBAL, 0,
|
AS_GLOBAL, 0,
|
||||||
|
@ -199,11 +199,11 @@ TOOL_ACTION COMMON_ACTIONS::zoomOutCenter( "common.Control.zoomOutCenter",
|
||||||
|
|
||||||
TOOL_ACTION COMMON_ACTIONS::zoomCenter( "common.Control.zoomCenter",
|
TOOL_ACTION COMMON_ACTIONS::zoomCenter( "common.Control.zoomCenter",
|
||||||
AS_GLOBAL, WXK_F4,
|
AS_GLOBAL, WXK_F4,
|
||||||
"Center", "", zoom_center_on_screen_xpm );
|
_( "Center" ), "", zoom_center_on_screen_xpm );
|
||||||
|
|
||||||
TOOL_ACTION COMMON_ACTIONS::zoomFitScreen( "common.Control.zoomFitScreen",
|
TOOL_ACTION COMMON_ACTIONS::zoomFitScreen( "common.Control.zoomFitScreen",
|
||||||
AS_GLOBAL, WXK_HOME,
|
AS_GLOBAL, WXK_HOME,
|
||||||
"Zoom Auto", "", zoom_fit_in_page_xpm );
|
_( "Zoom Auto" ), "", zoom_fit_in_page_xpm );
|
||||||
|
|
||||||
TOOL_ACTION COMMON_ACTIONS::zoomPreset( "common.Control.zoomPreset",
|
TOOL_ACTION COMMON_ACTIONS::zoomPreset( "common.Control.zoomPreset",
|
||||||
AS_GLOBAL, 0,
|
AS_GLOBAL, 0,
|
||||||
|
|
|
@ -98,9 +98,9 @@ bool SELECTION_TOOL::Init()
|
||||||
m_menu.AddItem( COMMON_ACTIONS::zoomOut , SELECTION_CONDITIONS::ShowAlways, 1000 );
|
m_menu.AddItem( COMMON_ACTIONS::zoomOut , SELECTION_CONDITIONS::ShowAlways, 1000 );
|
||||||
m_menu.AddItem( COMMON_ACTIONS::zoomFitScreen , SELECTION_CONDITIONS::ShowAlways, 1000 );
|
m_menu.AddItem( COMMON_ACTIONS::zoomFitScreen , SELECTION_CONDITIONS::ShowAlways, 1000 );
|
||||||
|
|
||||||
m_menu.AddMenu( new ZOOM_MENU( getEditFrame<PCB_BASE_FRAME>() ), "Zoom",
|
m_menu.AddMenu( new ZOOM_MENU( getEditFrame<PCB_BASE_FRAME>() ), _( "Zoom" ),
|
||||||
false, SELECTION_CONDITIONS::ShowAlways, 1000 );
|
false, SELECTION_CONDITIONS::ShowAlways, 1000 );
|
||||||
m_menu.AddMenu( new GRID_MENU( getEditFrame<PCB_BASE_FRAME>() ), "Grid",
|
m_menu.AddMenu( new GRID_MENU( getEditFrame<PCB_BASE_FRAME>() ), _( "Grid" ),
|
||||||
false, SELECTION_CONDITIONS::ShowAlways, 1000 );
|
false, SELECTION_CONDITIONS::ShowAlways, 1000 );
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue