From b716afd6f102ce8090265676d0181cf46b1aea8b Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 3 Oct 2022 12:47:45 -0700 Subject: [PATCH] Clarify various uses of "Center" Distinguish between the english verb "Center" and the noun "Center", which may be translated differently Fixes https://gitlab.com/kicad/code/kicad/issues/11109 --- common/tool/actions.cpp | 2 +- common/widgets/mathplot.cpp | 2 +- pcbnew/dialogs/dialog_graphic_item_properties.cpp | 2 +- pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/tool/actions.cpp b/common/tool/actions.cpp index daccb68574..1186f40a74 100644 --- a/common/tool/actions.cpp +++ b/common/tool/actions.cpp @@ -333,7 +333,7 @@ TOOL_ACTION ACTIONS::zoomOutCenter( "common.Control.zoomOutCenter", TOOL_ACTION ACTIONS::zoomCenter( "common.Control.zoomCenter", AS_GLOBAL, WXK_F4, LEGACY_HK_NAME( "Zoom Center" ), - _( "Center" ), _( "Center" ), + _( "Center on Cursor" ), _( "Center on Cursor" ), BITMAPS::zoom_center_on_screen ); TOOL_ACTION ACTIONS::zoomTool( "common.Control.zoomTool", diff --git a/common/widgets/mathplot.cpp b/common/widgets/mathplot.cpp index 2e9e0f9bfc..bccb00c483 100644 --- a/common/widgets/mathplot.cpp +++ b/common/widgets/mathplot.cpp @@ -1662,7 +1662,7 @@ mpWindow::mpWindow( wxWindow* parent, m_lockaspect = false; - m_popmenu.Append( mpID_CENTER, _( "Center" ), _( "Center plot view to this position" ) ); + m_popmenu.Append( mpID_CENTER, _( "Center on Cursor" ), _( "Center plot view to this position" ) ); m_popmenu.Append( mpID_FIT, _( "Fit on Screen" ), _( "Set plot view to show all items" ) ); m_popmenu.Append( mpID_ZOOM_IN, _( "Zoom In" ), _( "Zoom in plot view." ) ); m_popmenu.Append( mpID_ZOOM_OUT, _( "Zoom Out" ), _( "Zoom out plot view." ) ); diff --git a/pcbnew/dialogs/dialog_graphic_item_properties.cpp b/pcbnew/dialogs/dialog_graphic_item_properties.cpp index 5d9c91adf4..e252f193f6 100644 --- a/pcbnew/dialogs/dialog_graphic_item_properties.cpp +++ b/pcbnew/dialogs/dialog_graphic_item_properties.cpp @@ -208,7 +208,7 @@ bool DIALOG_GRAPHIC_ITEM_PROPERTIES::TransferDataToWindow() { case SHAPE_T::CIRCLE: SetTitle( _( "Circle Properties" ) ); - m_startPointLabel->SetLabel( _( "Center" ) ); + m_startPointLabel->SetLabel( _( "Center Point" ) ); m_endPointLabel->SetLabel( _( "Radius" ) ); m_endXLabel->Show( false ); diff --git a/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp b/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp index 12ea215371..35ed0e8bce 100644 --- a/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp +++ b/pcbnew/dialogs/dialog_pad_basicshapes_properties.cpp @@ -114,7 +114,7 @@ bool DIALOG_PAD_PRIMITIVES_PROPERTIES::TransferDataToWindow() SetTitle( _( "Arc" ) ); m_startX.SetValue( m_shape->GetStart().x ); m_startY.SetValue( m_shape->GetStart().y ); - m_staticTextPosEnd->SetLabel( _( "Center" ) ); + m_staticTextPosEnd->SetLabel( _( "Center Point:" ) ); m_endX.SetValue( m_shape->GetCenter().x ); m_endY.SetValue( m_shape->GetCenter().y ); m_radiusLabel->SetLabel( _( "Angle:" ) ); @@ -143,7 +143,7 @@ bool DIALOG_PAD_PRIMITIVES_PROPERTIES::TransferDataToWindow() m_endY.Show( false ); // Circle center uses position controls: - m_staticTextPosStart->SetLabel( _( "Center:" ) ); + m_staticTextPosStart->SetLabel( _( "Center Point:" ) ); m_startX.SetValue( m_shape->GetStart().x ); m_startY.SetValue( m_shape->GetStart().y ); m_radius.SetValue( m_shape->GetRadius() );