Fix a few I18n minor issues.
This commit is contained in:
parent
acf696ca2d
commit
8c8ccf83e6
|
@ -145,7 +145,7 @@ bool GERBER_JOBFILE_READER::ReadGerberJobFile()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if( m_reporter )
|
if( m_reporter )
|
||||||
m_reporter->ReportTail( _( "This job file uses an outdated format. Please, recreate it" ),
|
m_reporter->ReportTail( _( "This job file uses an outdated format. Please, recreate it." ),
|
||||||
REPORTER::RPT_WARNING );
|
REPORTER::RPT_WARNING );
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -190,7 +190,7 @@ void DIALOG_POSITION_RELATIVE::UpdateAnchor( EDA_ITEM* aItem )
|
||||||
reference = aItem->GetSelectMenuText( GetUserUnits() );
|
reference = aItem->GetSelectMenuText( GetUserUnits() );
|
||||||
}
|
}
|
||||||
|
|
||||||
m_referenceInfo->SetLabel( _( "Reference item: " ) + reference );
|
m_referenceInfo->SetLabel( wxString::Format( "Reference item: %s", reference ) );
|
||||||
|
|
||||||
Show( true );
|
Show( true );
|
||||||
}
|
}
|
||||||
|
|
|
@ -1272,8 +1272,7 @@ void PCB_IO::format( D_PAD* aPad, int aNestLevel ) const
|
||||||
case PAD_ATTRIB_HOLE_NOT_PLATED: type = "np_thru_hole"; break;
|
case PAD_ATTRIB_HOLE_NOT_PLATED: type = "np_thru_hole"; break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
THROW_IO_ERROR( wxString::Format( _( "unknown pad attribute: %d" ),
|
THROW_IO_ERROR( wxString::Format( "unknown pad attribute: %d", aPad->GetAttribute() ) );
|
||||||
aPad->GetAttribute() ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_out->Print( aNestLevel, "(pad %s %s %s",
|
m_out->Print( aNestLevel, "(pad %s %s %s",
|
||||||
|
|
Loading…
Reference in New Issue