message consistency

This commit is contained in:
dickelbeck 2008-02-19 16:54:32 +00:00
parent c04619bb50
commit 7750cf6d4f
1 changed files with 4 additions and 4 deletions

View File

@ -51,9 +51,9 @@ void RemoteCommand( const char* cmdline )
module = ReturnModule( frame->m_Pcb, modName ); module = ReturnModule( frame->m_Pcb, modName );
if( module ) if( module )
msg.Printf( _( "Module %s found" ), modName.GetData() ); msg.Printf( _( "%s found" ), modName.GetData() );
else else
msg.Printf( _( "Module %s not found"), modName.GetData() ); msg.Printf( _( "%s not found"), modName.GetData() );
frame->Affiche_Message( msg ); frame->Affiche_Message( msg );
if( module ) if( module )
@ -106,9 +106,9 @@ void RemoteCommand( const char* cmdline )
} }
if( module == NULL ) if( module == NULL )
msg.Printf( _( "Module %s not found" ), modName.GetData() ); msg.Printf( _( "%s not found" ), modName.GetData() );
else if( pad == NULL ) else if( pad == NULL )
msg.Printf( _( "Pin %s (module %s) not found" ), pinName.GetData(), modName.GetData() ); msg.Printf( _( "%s pin %s not found" ), modName.GetData(), pinName.GetData() );
else else
msg.Printf( _( "%s pin %s found" ), modName.GetData(), pinName.GetData() ); msg.Printf( _( "%s pin %s found" ), modName.GetData(), pinName.GetData() );