Eeschema, backannotate: fix minor issues in displayed messages.
Fixes #11530 https://gitlab.com/kicad/code/kicad/issues/11530
This commit is contained in:
parent
a56955443f
commit
3f470359a2
|
@ -2,7 +2,7 @@
|
|||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2019 Alexander Shuklin <Jasuramme@gmail.com>
|
||||
* Copyright (C) 2004-2021 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
* Copyright (C) 2004-2022 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
|
@ -291,7 +291,7 @@ void BACK_ANNOTATE::checkForUnusedSymbols()
|
|||
wxString msg = wxString::Format( _( "Footprint '%s' is not present on PCB. "
|
||||
"Corresponding symbols in schematic must be "
|
||||
"manually deleted (if desired)." ),
|
||||
m_refs[i].GetFullRef() );
|
||||
m_refs[i].GetRef() );
|
||||
m_reporter.ReportTail( msg, RPT_SEVERITY_WARNING );
|
||||
}
|
||||
|
||||
|
@ -328,7 +328,7 @@ void BACK_ANNOTATE::applyChangelist()
|
|||
{
|
||||
++m_changesCount;
|
||||
msg.Printf( _( "Change '%s' reference designator to '%s'." ),
|
||||
ref.GetFullRef(),
|
||||
ref.GetRef(),
|
||||
fpData.m_ref );
|
||||
|
||||
if( !m_dryRun )
|
||||
|
@ -345,7 +345,7 @@ void BACK_ANNOTATE::applyChangelist()
|
|||
{
|
||||
++m_changesCount;
|
||||
msg.Printf( _( "Change %s footprint assignment from '%s' to '%s'." ),
|
||||
ref.GetFullRef(),
|
||||
ref.GetRef(),
|
||||
oldFootprint,
|
||||
fpData.m_footprint );
|
||||
|
||||
|
@ -363,7 +363,7 @@ void BACK_ANNOTATE::applyChangelist()
|
|||
{
|
||||
++m_changesCount;
|
||||
msg.Printf( _( "Change %s value from '%s' to '%s'." ),
|
||||
ref.GetFullRef(),
|
||||
ref.GetRef(),
|
||||
oldValue,
|
||||
fpData.m_value );
|
||||
|
||||
|
@ -388,7 +388,7 @@ void BACK_ANNOTATE::applyChangelist()
|
|||
if( !pin )
|
||||
{
|
||||
msg.Printf( _( "Cannot find %s pin '%s'." ),
|
||||
ref.GetFullRef(),
|
||||
ref.GetRef(),
|
||||
pinNumber );
|
||||
m_reporter.ReportHead( msg, RPT_SEVERITY_ERROR );
|
||||
|
||||
|
@ -399,7 +399,7 @@ void BACK_ANNOTATE::applyChangelist()
|
|||
|
||||
if( connection && connection->Name( true ) != shortNetName )
|
||||
{
|
||||
processNetNameChange( ref.GetFullRef(), pin, connection,
|
||||
processNetNameChange( ref.GetRef(), pin, connection,
|
||||
connection->Name( true ), shortNetName );
|
||||
}
|
||||
}
|
||||
|
@ -413,8 +413,6 @@ void BACK_ANNOTATE::applyChangelist()
|
|||
m_frame->RecalculateConnections( NO_CLEANUP );
|
||||
m_frame->UpdateNetHighlightStatus();
|
||||
}
|
||||
|
||||
m_reporter.ReportHead( msg, RPT_SEVERITY_INFO );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue