Revert "PCB Fields: save untranslated names"

This reverts commit b47fcac666.
The root issue was a bug in SCH_FIELD::GetCanonicalName(), now fixed.
This commit is contained in:
jean-pierre charras 2023-06-23 17:28:16 +02:00
parent db8201717d
commit d8034b9c15
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ void PCB_PLUGIN::format( const FOOTPRINT* aFootprint, int aNestLevel ) const
for( const PCB_FIELD* field : aFootprint->GetFields() )
{
m_out->Print( aNestLevel + 1, "(property %s %s",
m_out->Quotew( field->GetName() ).c_str(),
m_out->Quotew( field->GetCanonicalName() ).c_str(),
m_out->Quotew( field->GetText() ).c_str() );
format( field, aNestLevel + 1 );