From d40712d9d60b34ecc93420795c5146afb8855e57 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 1 Aug 2021 21:31:23 +0100 Subject: [PATCH] Formatting and message consistency. --- eeschema/tools/sch_editor_control.cpp | 4 ++-- gerbview/readgerb.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eeschema/tools/sch_editor_control.cpp b/eeschema/tools/sch_editor_control.cpp index f194508c8f..fb3d65bac0 100644 --- a/eeschema/tools/sch_editor_control.cpp +++ b/eeschema/tools/sch_editor_control.cpp @@ -933,8 +933,8 @@ int SCH_EDITOR_CONTROL::AssignNetclass( const TOOL_EVENT& aEvent ) } else if( conn->IsBus() && conn->Members().size() == 0 ) { - m_frame->ShowInfoBarError( - _( "Bus must have at least one member to assign a netclass to members." ) ); + m_frame->ShowInfoBarError( _( "Bus must have at least one member to assign a netclass " + "to members." ) ); highlightNet( m_toolMgr, CLEAR ); return 0; } diff --git a/gerbview/readgerb.cpp b/gerbview/readgerb.cpp index faaf9bb5e8..6137b7cce4 100644 --- a/gerbview/readgerb.cpp +++ b/gerbview/readgerb.cpp @@ -60,7 +60,7 @@ bool GERBVIEW_FRAME::Read_GERBER_File( const wxString& GERBER_FullFileName ) if( !success ) { gerber_uptr.reset(); - msg.Printf( _( "File \"%s\" not found" ), GERBER_FullFileName ); + msg.Printf( _( "File '%s' not found" ), GERBER_FullFileName ); ShowInfoBarError( msg ); return false; } @@ -72,7 +72,7 @@ bool GERBVIEW_FRAME::Read_GERBER_File( const wxString& GERBER_FullFileName ) // Display errors list if( gerber->GetMessages().size() > 0 ) { - HTML_MESSAGE_BOX dlg( this, _("Errors") ); + HTML_MESSAGE_BOX dlg( this, _( "Errors" ) ); dlg.ListSet( gerber->GetMessages() ); dlg.ShowModal(); }