Eeschema, backannotate: fix minor issues in displayed messages.
From Master branch Fixes #11530 https://gitlab.com/kicad/code/kicad/issues/11530
This commit is contained in:
parent
fbc6c8f8f4
commit
82631db1bb
|
@ -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
|
||||
|
@ -290,7 +290,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 );
|
||||
}
|
||||
|
||||
|
@ -327,7 +327,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 )
|
||||
|
@ -344,7 +344,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 );
|
||||
|
||||
|
@ -362,7 +362,7 @@ void BACK_ANNOTATE::applyChangelist()
|
|||
{
|
||||
++m_changesCount;
|
||||
msg.Printf( _( "Change %s value from '%s' to '%s'." ),
|
||||
ref.GetFullRef(),
|
||||
ref.GetRef(),
|
||||
oldValue,
|
||||
fpData.m_value );
|
||||
|
||||
|
@ -387,7 +387,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 );
|
||||
|
||||
|
@ -398,7 +398,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 );
|
||||
}
|
||||
}
|
||||
|
@ -410,8 +410,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