From 007db5f957b571f3587d2c7bb85ebda734d1aba4 Mon Sep 17 00:00:00 2001 From: Ethan Chien Date: Thu, 27 Feb 2025 22:45:58 +0000 Subject: [PATCH] Improve string clarity in Zone Manager and DIALOG_COPPER_ZONE for "Minimum island size" - Renamed "Minimum island size" to "Area limit" in Zone Manager and DIALOG_COPPER_ZONE to align with terminology used in the dropdown. - The change aims to make the connection between the dropdown choice and the field more intuitive, reducing ambiguity for users. Fixes https://gitlab.com/kicad/code/kicad/-/issues/17255 --- pcbnew/dialogs/dialog_copper_zones_base.cpp | 2 +- pcbnew/dialogs/dialog_copper_zones_base.fbp | 46 +++++++++---------- .../panel_zone_properties_base.cpp | 2 +- .../panel_zone_properties_base.fbp | 2 +- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/pcbnew/dialogs/dialog_copper_zones_base.cpp b/pcbnew/dialogs/dialog_copper_zones_base.cpp index a3d0ef2f66..a5755027cb 100644 --- a/pcbnew/dialogs/dialog_copper_zones_base.cpp +++ b/pcbnew/dialogs/dialog_copper_zones_base.cpp @@ -360,7 +360,7 @@ DIALOG_COPPER_ZONE_BASE::DIALOG_COPPER_ZONE_BASE( wxWindow* parent, wxWindowID i m_cbRemoveIslands->SetSelection( 0 ); gbSizer3->Add( m_cbRemoveIslands, wxGBPosition( 7, 1 ), wxGBSpan( 1, 1 ), wxALIGN_CENTER_VERTICAL|wxALL, 5 ); - m_islandThresholdLabel = new wxStaticText( sbSizerZoneStyle->GetStaticBox(), wxID_ANY, _("Minimum island size:"), wxDefaultPosition, wxDefaultSize, 0 ); + m_islandThresholdLabel = new wxStaticText( sbSizerZoneStyle->GetStaticBox(), wxID_ANY, _("Area limit:"), wxDefaultPosition, wxDefaultSize, 0 ); m_islandThresholdLabel->Wrap( -1 ); m_islandThresholdLabel->Enable( false ); m_islandThresholdLabel->SetToolTip( _("Isolated islands smaller than this will be removed") ); diff --git a/pcbnew/dialogs/dialog_copper_zones_base.fbp b/pcbnew/dialogs/dialog_copper_zones_base.fbp index 9c396fe36f..6997a9c00f 100644 --- a/pcbnew/dialogs/dialog_copper_zones_base.fbp +++ b/pcbnew/dialogs/dialog_copper_zones_base.fbp @@ -66,11 +66,11 @@ m_MainBoxSizer wxVERTICAL protected - + 5 wxBOTTOM|wxEXPAND 0 - + 1 1 1 @@ -127,16 +127,16 @@ - + 5 wxEXPAND|wxRIGHT|wxLEFT 1 - + m_OptionsBoxSizer wxHORIZONTAL none - + 5 wxEXPAND|wxTOP|wxRIGHT|wxLEFT 0 @@ -179,11 +179,11 @@ - + 5 wxEXPAND|wxTOP|wxRIGHT|wxLEFT 1 - + wxID_ANY Net @@ -191,20 +191,20 @@ wxVERTICAL 1 none - + 5 wxEXPAND 1 - + bSizer8 wxHORIZONTAL none - + 20 wxEXPAND 1 - + bFilteringSizer wxHORIZONTAL @@ -510,11 +510,11 @@ bSizerMiddle wxHORIZONTAL none - + 5 wxEXPAND 0 - + bLeftColumn wxVERTICAL @@ -803,7 +803,7 @@ - + 10 wxEXPAND|wxLEFT|wxRIGHT|wxTOP 1 @@ -1641,7 +1641,7 @@ 10 wxEXPAND|wxRIGHT|wxTOP 1 - + wxID_ANY Electrical Properties @@ -1649,11 +1649,11 @@ wxVERTICAL 1 none - + 5 wxEXPAND 0 - + wxBOTH 1 @@ -2662,7 +2662,7 @@ 10 wxEXPAND|wxTOP|wxRIGHT 0 - + wxID_ANY Fill @@ -2670,11 +2670,11 @@ wxVERTICAL 1 none - + 5 wxEXPAND|wxBOTTOM 1 - + -1,10 wxBOTH 0 @@ -3909,7 +3909,7 @@ 0 0 wxID_ANY - Minimum island size: + Area limit: 0 0 @@ -4077,11 +4077,11 @@ - + 5 wxEXPAND|wxLEFT 0 - + bSizerbottom wxHORIZONTAL diff --git a/pcbnew/zone_manager/panel_zone_properties_base.cpp b/pcbnew/zone_manager/panel_zone_properties_base.cpp index fdfb2a2ab4..3e7c8e520d 100644 --- a/pcbnew/zone_manager/panel_zone_properties_base.cpp +++ b/pcbnew/zone_manager/panel_zone_properties_base.cpp @@ -285,7 +285,7 @@ PANEL_ZONE_PROPERTIES_BASE::PANEL_ZONE_PROPERTIES_BASE( wxWindow* parent, wxWind m_cbRemoveIslands->SetSelection( 0 ); gbSizer3->Add( m_cbRemoveIslands, wxGBPosition( 7, 1 ), wxGBSpan( 1, 1 ), wxEXPAND, 5 ); - m_islandThresholdLabel = new wxStaticText( sbSizerZoneStyle->GetStaticBox(), wxID_ANY, _("Minimum island size:"), wxDefaultPosition, wxDefaultSize, 0 ); + m_islandThresholdLabel = new wxStaticText( sbSizerZoneStyle->GetStaticBox(), wxID_ANY, _("Area limit:"), wxDefaultPosition, wxDefaultSize, 0 ); m_islandThresholdLabel->Wrap( -1 ); m_islandThresholdLabel->Enable( false ); m_islandThresholdLabel->SetToolTip( _("Isolated islands smaller than this will be removed") ); diff --git a/pcbnew/zone_manager/panel_zone_properties_base.fbp b/pcbnew/zone_manager/panel_zone_properties_base.fbp index a3b5f430ca..f9f18269fe 100644 --- a/pcbnew/zone_manager/panel_zone_properties_base.fbp +++ b/pcbnew/zone_manager/panel_zone_properties_base.fbp @@ -3336,7 +3336,7 @@ 0 0 wxID_ANY - Minimum island size: + Area limit: 0 0