Browse Source

Fix a few I18n minor issues.

pull/13/head
jean-pierre charras 7 years ago
parent
commit
8c8ccf83e6
  1. 2
      gerbview/job_file_reader.cpp
  2. 2
      pcbnew/dialogs/dialog_position_relative.cpp
  3. 3
      pcbnew/kicad_plugin.cpp

2
gerbview/job_file_reader.cpp

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

2
pcbnew/dialogs/dialog_position_relative.cpp

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

3
pcbnew/kicad_plugin.cpp

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

Loading…
Cancel
Save