From d04fd426dc58c0b7a8a753ae9895bf4ac884674f Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Sat, 23 Aug 2014 11:43:26 -0400 Subject: [PATCH] Fix Eeschema context menu orientation rotate entries. * Use clockwise and counterclockwise in menu strings which is less ambiguous than + and -. * Moved the rotate hot key R to the rotate clockwise menu entry string. --- eeschema/onrightclick.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eeschema/onrightclick.cpp b/eeschema/onrightclick.cpp index 00abc35ecd..77ac679737 100644 --- a/eeschema/onrightclick.cpp +++ b/eeschema/onrightclick.cpp @@ -369,11 +369,10 @@ void AddMenusForComponent( wxMenu* PopMenu, SCH_COMPONENT* Component, PART_LIBS* } wxMenu* orientmenu = new wxMenu; - msg = AddHotkeyName( _( "Rotate +" ), s_Schematic_Hokeys_Descr, HK_ROTATE ); - AddMenuItem( orientmenu, ID_SCH_ROTATE_COUNTERCLOCKWISE, msg, + msg = AddHotkeyName( _( "Rotate Clockwise" ), s_Schematic_Hokeys_Descr, HK_ROTATE ); + AddMenuItem( orientmenu, ID_SCH_ROTATE_CLOCKWISE, msg, KiBitmap( rotate_cw_xpm ) ); + AddMenuItem( orientmenu, ID_SCH_ROTATE_COUNTERCLOCKWISE, _( "Rotate Counterclockwise" ), KiBitmap( rotate_ccw_xpm ) ); - AddMenuItem( orientmenu, ID_SCH_ROTATE_CLOCKWISE, _( "Rotate -" ), - KiBitmap( rotate_cw_xpm ) ); msg = AddHotkeyName( _( "Mirror --" ), s_Schematic_Hokeys_Descr, HK_MIRROR_X_COMPONENT ); AddMenuItem( orientmenu, ID_SCH_MIRROR_X, msg, KiBitmap( mirror_v_xpm ) ); msg = AddHotkeyName( _( "Mirror ||" ), s_Schematic_Hokeys_Descr, HK_MIRROR_Y_COMPONENT );