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
{
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 );
return false;

View File

@ -190,7 +190,7 @@ void DIALOG_POSITION_RELATIVE::UpdateAnchor( EDA_ITEM* aItem )
reference = aItem->GetSelectMenuText( GetUserUnits() );
}
m_referenceInfo->SetLabel( _( "Reference item: " ) + reference );
m_referenceInfo->SetLabel( wxString::Format( "Reference item: %s", reference ) );
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;
default:
THROW_IO_ERROR( wxString::Format( _( "unknown pad attribute: %d" ),
aPad->GetAttribute() ) );
THROW_IO_ERROR( wxString::Format( "unknown pad attribute: %d", aPad->GetAttribute() ) );
}
m_out->Print( aNestLevel, "(pad %s %s %s",