Fix a few I18n minor issues.

This commit is contained in:
jean-pierre charras 2018-11-16 09:43:40 +01:00
parent acf696ca2d
commit 8c8ccf83e6
3 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -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 );
} }

View File

@ -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",