Commit d5fff4a6 authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

revert text strings for clarity

parent e07590f9
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -89,7 +89,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR )
    if( errno )
    if( errno )
    {
    {
        wxString error;
        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() );
                      GetChars( CurSource() ), CurLineNumber(), CurOffset() );


        THROW_IO_ERROR( error );
        THROW_IO_ERROR( error );
@@ -98,7 +98,7 @@ double PCB_PARSER::parseDouble() throw( IO_ERROR )
    if( CurText() == tmp )
    if( CurText() == tmp )
    {
    {
        wxString error;
        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() );
                      GetChars( CurSource() ), CurLineNumber(), CurOffset() );


        THROW_IO_ERROR( error );
        THROW_IO_ERROR( error );
@@ -754,7 +754,7 @@ T PCB_PARSER::lookUpLayer( const M& aMap ) throw( PARSE_ERROR, IO_ERROR )
#endif
#endif


        wxString error = wxString::Format(
        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() ),
            GetChars( FROM_UTF8( CurText() ) ), GetChars( CurSource() ),
            CurLineNumber(), CurOffset() );
            CurLineNumber(), CurOffset() );