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:
parent
f522232a4c
commit
687dc71e1d
pcbnew
@ -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 );
|
||||
|
||||
|
@ -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 ) )
|
||||
|
Loading…
Reference in New Issue
Block a user