Commit 7b5318ff authored by jean-pierre charras's avatar jean-pierre charras
Browse files

Fix minor issues about translated strings and coding style. Add comment...

Fix minor issues about translated strings and coding style. Add comment relative to file function info  in X1 gerber file format.
parent db31daff
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -119,8 +119,7 @@ bool GERBER_PLOTTER::StartPlot()

    if( ! m_attribFunction.IsEmpty() )
    {
        fprintf( outputFile, "%%TF.FileFunction,%s*%%\n",
                 TO_UTF8( m_attribFunction ) );
        fprintf( outputFile, "%s\n", TO_UTF8( m_attribFunction ) );
    }

    // Set coordinate format to 3.6 or 4.5 absolute, leading zero omitted
+2 −2
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ void DIALOG_PLOT_SCHEMATIC::CreateDXFFile( bool aPlotAll, bool aPlotFrameRef )
        }
        catch( IO_ERROR& e )
        {
            msg.Printf( _( "DXF Plotter Exception : '%s'"), wxString(e.errorText ) );
            msg.Printf( wxT( "DXF Plotter Exception : '%s'"), GetChars( e.errorText ) );
            m_MessagesBox->AppendText( msg );
            schframe->SetCurrentSheet( oldsheetpath );
            schframe->GetCurrentSheet().UpdateAllScreenReferences();
+2 −2
Original line number Diff line number Diff line
@@ -197,7 +197,7 @@ void DIALOG_PLOT_SCHEMATIC::createHPGLFile( bool aPlotAll, bool aPlotFrameRef )
        }
        catch( IO_ERROR& e )
        {
            msg.Printf( _( "HPGL Plotter Exception : '%s'"), wxString(e.errorText ) );
            msg.Printf( wxT( "HPGL Plotter Exception : '%s'"), GetChars( e.errorText ) );
            m_MessagesBox->AppendText( msg );
        }

+2 −2
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ void DIALOG_PLOT_SCHEMATIC::createPDFFile( bool aPlotAll, bool aPlotFrameRef )
            catch( const IO_ERROR& e )
            {
                // Cannot plot PDF file
                msg.Printf( _( "PDF Plotter Exception : <%s>"), wxString(e.errorText ) );
                msg.Printf( wxT( "PDF Plotter Exception : <%s>"), GetChars( e.errorText ) );
                restoreEnvironment(plotter, oldsheetpath, msg);
                return;
            }
+2 −2
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ void DIALOG_PLOT_SCHEMATIC::createPSFile( bool aPlotAll, bool aPlotFrameRef )
        }
        catch( IO_ERROR& e )
        {
            msg.Printf( _( "PS Plotter Exception : '%s'"), wxString(e.errorText ) );
            msg.Printf( wxT( "PS Plotter Exception : '%s'"), GetChars( e.errorText ) );
            m_MessagesBox->AppendText( msg );
        }

Loading