Fix wxT overzealous replacements
A couple of regex mistakes slipped through and need to be reverted here
This commit is contained in:
parent
71eefc8322
commit
470d7d228d
|
@ -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)" ) );
|
||||
|
||||
|
|
|
@ -412,7 +412,7 @@ void SCH_CONNECTION::AppendInfoToMsgPanel( std::vector<MSG_PANEL_ITEM>& 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( "{" ) );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -445,7 +445,7 @@ int SYMBOL_EDITOR_EDIT_TOOL::Properties( const TOOL_EVENT& aEvent )
|
|||
break;
|
||||
|
||||
default:
|
||||
wxFAIL_MSG( wxT( "Unhandled item <wxT( " ) + item->GetClass() + wxT( " )>" ) );
|
||||
wxFAIL_MSG( wxT( "Unhandled item <" ) + item->GetClass() + wxT( ">" ) );
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue