revert text strings for clarity
This commit is contained in:
parent
e07590f930
commit
d5fff4a6da
|
@ -89,7 +89,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR )
|
|||
if( errno )
|
||||
{
|
||||
wxString error;
|
||||
error.Printf( _( "invalid floating point number in file: <%s>\nline: %d, offset: %d" ),
|
||||
error.Printf( _( "invalid floating point number in\nfile: <%s>\nline: %d\noffset: %d" ),
|
||||
GetChars( CurSource() ), CurLineNumber(), CurOffset() );
|
||||
|
||||
THROW_IO_ERROR( error );
|
||||
|
@ -98,7 +98,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR )
|
|||
if( CurText() == tmp )
|
||||
{
|
||||
wxString error;
|
||||
error.Printf( _( "missing floating point number in file: <%s>\nline: %d, offset: %d" ),
|
||||
error.Printf( _( "missing floating point number in\nfile: <%s>\nline: %d\noffset: %d" ),
|
||||
GetChars( CurSource() ), CurLineNumber(), CurOffset() );
|
||||
|
||||
THROW_IO_ERROR( error );
|
||||
|
@ -754,7 +754,7 @@ T PCB_PARSER::lookUpLayer( const M& aMap ) throw( PARSE_ERROR, IO_ERROR )
|
|||
#endif
|
||||
|
||||
wxString error = wxString::Format(
|
||||
_( "Layer %s in file <%s> at line %d, position %d, was not defined in the layers section" ),
|
||||
_( "Layer '%s' in file <%s> at line %d, position %d, was not defined in the layers section" ),
|
||||
GetChars( FROM_UTF8( CurText() ) ), GetChars( CurSource() ),
|
||||
CurLineNumber(), CurOffset() );
|
||||
|
||||
|
|
Loading…
Reference in New Issue