From 3b2f6d9d03a9609af1c53955ac7b8fb07acd7790 Mon Sep 17 00:00:00 2001 From: John Beard Date: Fri, 1 Nov 2024 11:21:17 +0800 Subject: [PATCH] FP editor: string consistency 119eea38c3fd345af45aef44579ab66a35990cd1 changed to using %s rather than '%s' - follow that convention in the FP editor strings. --- pcbnew/footprint_edit_frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/footprint_edit_frame.cpp b/pcbnew/footprint_edit_frame.cpp index ab215afa51..2a5f4bf16d 100644 --- a/pcbnew/footprint_edit_frame.cpp +++ b/pcbnew/footprint_edit_frame.cpp @@ -542,7 +542,7 @@ void FOOTPRINT_EDIT_FRAME::ReloadFootprint( FOOTPRINT* aFootprint ) wxString::Format( _( "Editing %s from board. Saving will update the board only." ), aFootprint->GetReference() ); const wxString openLibLink = - wxString::Format( _( "Open in library '%s'" ), UnescapeString( libName ) ); + wxString::Format( _( "Open in library %s" ), UnescapeString( libName ) ); const auto openLibraryCopy = [this, aFootprint]( wxHyperlinkEvent& aEvent ) { @@ -566,7 +566,7 @@ void FOOTPRINT_EDIT_FRAME::ReloadFootprint( FOOTPRINT* aFootprint ) else if( !libName.empty() && !PROJECT_PCB::PcbFootprintLibs( &Prj() )->IsFootprintLibWritable( libName ) ) { - wxString msg = wxString::Format( _( "Editing footprint from read-only library '%s'." ), + wxString msg = wxString::Format( _( "Editing footprint from read-only library %s." ), UnescapeString( libName ) ); if( WX_INFOBAR* infobar = GetInfoBar() )