From 04ffd0a4acbd24f5b908b8192003d06ee0337cc5 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 3 May 2015 17:53:44 +0200 Subject: [PATCH] i18n pcbnew GAL popup menu entries --- pcbnew/tools/common_actions.cpp | 8 ++++---- pcbnew/tools/selection_tool.cpp | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pcbnew/tools/common_actions.cpp b/pcbnew/tools/common_actions.cpp index c676f8c73f..8f80404e4f 100644 --- a/pcbnew/tools/common_actions.cpp +++ b/pcbnew/tools/common_actions.cpp @@ -183,11 +183,11 @@ TOOL_ACTION COMMON_ACTIONS::arcPosture( "pcbnew.InteractiveDrawing.arcPosture", // View Controls TOOL_ACTION COMMON_ACTIONS::zoomIn( "common.Control.zoomIn", AS_GLOBAL, WXK_F1, - "Zoom In", "", zoom_in_xpm ); + _( "Zoom In" ), "", zoom_in_xpm ); TOOL_ACTION COMMON_ACTIONS::zoomOut( "common.Control.zoomOut", AS_GLOBAL, WXK_F2, - "Zoom Out", "", zoom_out_xpm ); + _( "Zoom Out" ), "", zoom_out_xpm ); TOOL_ACTION COMMON_ACTIONS::zoomInCenter( "common.Control.zoomInCenter", AS_GLOBAL, 0, @@ -199,11 +199,11 @@ TOOL_ACTION COMMON_ACTIONS::zoomOutCenter( "common.Control.zoomOutCenter", TOOL_ACTION COMMON_ACTIONS::zoomCenter( "common.Control.zoomCenter", AS_GLOBAL, WXK_F4, - "Center", "", zoom_center_on_screen_xpm ); + _( "Center" ), "", zoom_center_on_screen_xpm ); TOOL_ACTION COMMON_ACTIONS::zoomFitScreen( "common.Control.zoomFitScreen", 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", AS_GLOBAL, 0, diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 6a0d0a8671..1480a18809 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -98,9 +98,9 @@ bool SELECTION_TOOL::Init() m_menu.AddItem( COMMON_ACTIONS::zoomOut , SELECTION_CONDITIONS::ShowAlways, 1000 ); m_menu.AddItem( COMMON_ACTIONS::zoomFitScreen , SELECTION_CONDITIONS::ShowAlways, 1000 ); - m_menu.AddMenu( new ZOOM_MENU( getEditFrame() ), "Zoom", + m_menu.AddMenu( new ZOOM_MENU( getEditFrame() ), _( "Zoom" ), false, SELECTION_CONDITIONS::ShowAlways, 1000 ); - m_menu.AddMenu( new GRID_MENU( getEditFrame() ), "Grid", + m_menu.AddMenu( new GRID_MENU( getEditFrame() ), _( "Grid" ), false, SELECTION_CONDITIONS::ShowAlways, 1000 ); return true;