From a3ee317277ac3ac4a67d4b115f1ab94037248dae Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 21 Mar 2024 11:30:42 +0000 Subject: [PATCH] Fix copy/pasta in tooltips. Fixes https://gitlab.com/kicad/code/kicad/-/issues/17515 (cherry picked from commit 913e6b47d72f7b6a50849cbf8b8fe38d55fc22fc) --- eeschema/widgets/tuner_slider_base.cpp | 10 +++++----- eeschema/widgets/tuner_slider_base.fbp | 8 ++++---- eeschema/widgets/tuner_slider_base.h | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/eeschema/widgets/tuner_slider_base.cpp b/eeschema/widgets/tuner_slider_base.cpp index 8ecd0c9aba..2f873ee25a 100644 --- a/eeschema/widgets/tuner_slider_base.cpp +++ b/eeschema/widgets/tuner_slider_base.cpp @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf02) +// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! @@ -40,7 +40,7 @@ TUNER_SLIDER_BASE::TUNER_SLIDER_BASE( wxWindow* parent, wxWindowID id, const wxP bSizer7 = new wxBoxSizer( wxHORIZONTAL ); m_e24 = new BITMAP_BUTTON( m_panel1, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 21,21 ), wxBU_AUTODRAW|wxBORDER_NONE ); - m_e24->SetToolTip( _("Bold") ); + m_e24->SetToolTip( _("Limit to E24 series values.") ); bSizer7->Add( m_e24, 0, wxLEFT|wxALIGN_CENTER_VERTICAL, 5 ); @@ -50,7 +50,7 @@ TUNER_SLIDER_BASE::TUNER_SLIDER_BASE( wxWindow* parent, wxWindowID id, const wxP bSizer7->Add( m_separator, 0, wxALIGN_CENTER_VERTICAL, 5 ); m_e48 = new BITMAP_BUTTON( m_panel1, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 21,21 ), wxBU_AUTODRAW|wxBORDER_NONE ); - m_e48->SetToolTip( _("Bold") ); + m_e48->SetToolTip( _("Limit to E48 series values.") ); bSizer7->Add( m_e48, 0, wxALIGN_CENTER_VERTICAL, 5 ); @@ -58,7 +58,7 @@ TUNER_SLIDER_BASE::TUNER_SLIDER_BASE( wxWindow* parent, wxWindowID id, const wxP bSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); m_e96 = new BITMAP_BUTTON( m_panel1, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 21,21 ), wxBU_AUTODRAW|wxBORDER_NONE ); - m_e96->SetToolTip( _("Bold") ); + m_e96->SetToolTip( _("Limit to E96 series values") ); bSizer7->Add( m_e96, 0, wxALIGN_CENTER_VERTICAL, 5 ); @@ -66,7 +66,7 @@ TUNER_SLIDER_BASE::TUNER_SLIDER_BASE( wxWindow* parent, wxWindowID id, const wxP bSizer7->Add( 0, 0, 1, wxEXPAND, 5 ); m_e192 = new BITMAP_BUTTON( m_panel1, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 21,21 ), wxBU_AUTODRAW|wxBORDER_NONE ); - m_e192->SetToolTip( _("Bold") ); + m_e192->SetToolTip( _("Limit to E192 series values") ); bSizer7->Add( m_e192, 0, wxRIGHT|wxALIGN_CENTER_VERTICAL, 5 ); diff --git a/eeschema/widgets/tuner_slider_base.fbp b/eeschema/widgets/tuner_slider_base.fbp index 3fb87de876..f583a47494 100644 --- a/eeschema/widgets/tuner_slider_base.fbp +++ b/eeschema/widgets/tuner_slider_base.fbp @@ -324,7 +324,7 @@ wxBORDER_NONE BITMAP_BUTTON; widgets/bitmap_button.h; forward_declare 0 - Bold + Limit to E24 series values. wxFILTER_NONE wxDefaultValidator @@ -473,7 +473,7 @@ wxBORDER_NONE BITMAP_BUTTON; widgets/bitmap_button.h; forward_declare 0 - Bold + Limit to E48 series values. wxFILTER_NONE wxDefaultValidator @@ -558,7 +558,7 @@ wxBORDER_NONE BITMAP_BUTTON; widgets/bitmap_button.h; forward_declare 0 - Bold + Limit to E96 series values wxFILTER_NONE wxDefaultValidator @@ -643,7 +643,7 @@ wxBORDER_NONE BITMAP_BUTTON; widgets/bitmap_button.h; forward_declare 0 - Bold + Limit to E192 series values wxFILTER_NONE wxDefaultValidator diff --git a/eeschema/widgets/tuner_slider_base.h b/eeschema/widgets/tuner_slider_base.h index 8894927620..dae9d135e7 100644 --- a/eeschema/widgets/tuner_slider_base.h +++ b/eeschema/widgets/tuner_slider_base.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////// -// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf02) +// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE!