A few I18n minor fixes.

This commit is contained in:
jean-pierre charras 2019-08-04 10:33:54 +02:00
parent c60118b6a4
commit 120637bd9b
3 changed files with 6 additions and 7 deletions

View File

@ -175,8 +175,8 @@ DIALOG_BUS_MANAGER::DIALOG_BUS_MANAGER( SCH_EDIT_FRAME* aParent )
m_btn_rename_signal->Disable();
m_btn_remove_signal->Disable();
m_bus_edit->SetHint( _T( "Bus Alias Name" ) );
m_signal_edit->SetHint( _T( "Net or Bus Name" ) );
m_bus_edit->SetHint( _( "Bus Alias Name" ) );
m_signal_edit->SetHint( _( "Net or Bus Name" ) );
FinishDialogSettings();
}

View File

@ -371,8 +371,8 @@ void KICAD_NETLIST_PARSER::parseComponent()
if( !footprint.IsEmpty() && fpid.Parse( footprint, LIB_ID::ID_PCB, true ) >= 0 )
{
wxString error;
error.Printf( _( "invalid footprint ID in\nfile: \"%s\"\nline: %d\noffset: %d" ),
GetChars( CurSource() ), CurLineNumber(), CurOffset() );
error.Printf( _( "Invalid footprint ID in\nfile: \"%s\"\nline: %d\noffset: %d" ),
CurSource(), CurLineNumber(), CurOffset() );
THROW_IO_ERROR( error );
}

View File

@ -178,9 +178,8 @@ bool CMP_READER::Load( NETLIST* aNetlist )
if( !footprint.IsEmpty() && fpid.Parse( footprint, LIB_ID::ID_PCB, true ) >= 0 )
{
wxString error;
error.Printf( _( "invalid footprint ID in\nfile: \"%s\"\nline: %d" ),
GetChars( m_lineReader->GetSource() ),
m_lineReader->LineNumber() );
error.Printf( _( "Invalid footprint ID in\nfile: \"%s\"\nline: %d" ),
m_lineReader->GetSource(), m_lineReader->LineNumber() );
THROW_IO_ERROR( error );
}