diff --git a/common/filename_resolver.cpp b/common/filename_resolver.cpp index a4f0f5f24d..dc68059f82 100644 --- a/common/filename_resolver.cpp +++ b/common/filename_resolver.cpp @@ -465,10 +465,10 @@ bool FILENAME_RESOLVER::addPath( const SEARCH_PATH& aPath ) wxString msg = _( "Alias: " ); msg.append( tpath.m_Alias ); msg.append( wxT( "\n" ) ); - msg.append( _( "This path:wxT( " ) + wxS( " ) " ) ); + msg.append( _( "This path:" ) + wxS( " " ) ); msg.append( tpath.m_Pathvar ); msg.append( wxT( "\n" ) ); - msg.append( _( "Existing path:wxT( " ) + wxS( " ) " ) ); + msg.append( _( "Existing path:" ) + wxS( " " ) ); msg.append( sPL->m_Pathvar ); wxMessageBox( msg, _( "Bad alias (duplicate name)" ) ); diff --git a/eeschema/sch_connection.cpp b/eeschema/sch_connection.cpp index 13cbd38e9a..4e62a958ba 100644 --- a/eeschema/sch_connection.cpp +++ b/eeschema/sch_connection.cpp @@ -412,7 +412,7 @@ void SCH_CONNECTION::AppendInfoToMsgPanel( std::vector& aList ) // CONNECTION_GRAPH entirely in the future, as they are mostly only useful for netlist exports. #if 0 if( !IsBus() ) - aList.emplace_back( _( "Net CodewxT( " ), wxString::Format( " )%d", m_net_code ) ); + aList.emplace_back( _( "Net Code" ), wxString::Format( "%d", m_net_code ) ); #endif if( auto alias = m_graph->GetBusAlias( m_name ) ) @@ -474,7 +474,7 @@ bool SCH_CONNECTION::MightBeBusLabel( const wxString& aLabel ) // Weak heuristic for performance reasons. Stronger test will be used for connectivity wxString label = UnescapeString( aLabel ); - return label.Contains( wxT( "[wxT( " ) ) || label.Contains( wxT( " ){" ) ); + return label.Contains( wxT( "[" ) ) || label.Contains( wxT( "{" ) ); } diff --git a/eeschema/tools/symbol_editor_edit_tool.cpp b/eeschema/tools/symbol_editor_edit_tool.cpp index 4705ae15dc..261fa92aa7 100644 --- a/eeschema/tools/symbol_editor_edit_tool.cpp +++ b/eeschema/tools/symbol_editor_edit_tool.cpp @@ -445,7 +445,7 @@ int SYMBOL_EDITOR_EDIT_TOOL::Properties( const TOOL_EVENT& aEvent ) break; default: - wxFAIL_MSG( wxT( "Unhandled item GetClass() + wxT( " )>" ) ); + wxFAIL_MSG( wxT( "Unhandled item <" ) + item->GetClass() + wxT( ">" ) ); break; } }