7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 16:53:44 +00:00

ODB++: Use more friendly progress phase names

This commit is contained in:
Jon Evans 2024-11-20 19:03:15 -05:00
parent f522232a4c
commit 687dc71e1d
2 changed files with 3 additions and 3 deletions
pcbnew

View File

@ -1566,6 +1566,7 @@ void PCB_EDIT_FRAME::GenODBPPFiles( wxCommandEvent& event )
if( dlg.GetCompress() )
{
reporter.AdvancePhase( _( "Compressing output" ) );
wxFFileOutputStream fnout( zipFileName.GetFullPath() );
wxZipOutputStream zipStream( fnout );

View File

@ -97,7 +97,7 @@ bool PCB_IO_ODBPP::ExportODB( const wxString& aFileName )
{
m_progressReporter->SetNumPhases( 3 );
m_progressReporter->BeginPhase( 0 );
m_progressReporter->Report( _( "Creating Entities" ) );
m_progressReporter->Report( _( "Creating ODB++ Structure" ) );
}
CreateEntity();
@ -105,7 +105,6 @@ bool PCB_IO_ODBPP::ExportODB( const wxString& aFileName )
if( m_progressReporter )
{
m_progressReporter->SetCurrentProgress( 1.0 );
m_progressReporter->AdvancePhase( _( "Init Entity Data" ) );
}
for( auto const& entity : m_entities )
@ -116,7 +115,7 @@ bool PCB_IO_ODBPP::ExportODB( const wxString& aFileName )
if( m_progressReporter )
{
m_progressReporter->SetCurrentProgress( 1.0 );
m_progressReporter->AdvancePhase( _( "Generating Entities Files" ) );
m_progressReporter->AdvancePhase( _( "Exporting board to ODB++" ) );
}
if( !GenerateFiles( *writer ) )