Spelling: fix various suppress misspellings

This commit is contained in:
Mike Williams 2022-11-22 13:31:57 -05:00
parent b42d5da07d
commit 60d42a7b1e
5 changed files with 15 additions and 14 deletions

View File

@ -81,8 +81,8 @@ public:
enum class ZEROS_FORMAT
{
DECIMAL,
SUPRESS_LEADING,
SUPRESS_TRAILING,
SUPPRESS_LEADING,
SUPPRESS_TRAILING,
KEEP_ZEROS
};
@ -104,4 +104,4 @@ public:
bool m_generateMap;
};
#endif
#endif

View File

@ -648,7 +648,7 @@ ASCH_NO_ERC::ASCH_NO_ERC( const std::map<wxString, wxString>& aProps )
-ReadKiCadUnitFrac( aProps, "LOCATION.Y" ) );
isActive = ALTIUM_PARSER::ReadBool( aProps, "ISACTIVE", true );
supressAll = ALTIUM_PARSER::ReadInt( aProps, "SUPPRESSALL", true );
suppressAll = ALTIUM_PARSER::ReadInt( aProps, "SUPPRESSALL", true );
}

View File

@ -648,7 +648,7 @@ struct ASCH_NO_ERC
VECTOR2I location;
bool isActive;
bool supressAll;
bool suppressAll;
explicit ASCH_NO_ERC( const std::map<wxString, wxString>& aProps );
};

View File

@ -48,7 +48,8 @@ CLI::EXPORT_PCB_DRILL_COMMAND::EXPORT_PCB_DRILL_COMMAND() : EXPORT_PCB_BASE_COMM
m_argParser.add_argument( ARG_EXCELLON_ZEROS_FORMAT )
.default_value( std::string( "decimal" ) )
.help( UTF8STDSTR( _( "Valid options are: decimal,supressleading,surpresstrailing,keep." ) ) );
.help( UTF8STDSTR(
_( "Valid options are: decimal,suppressleading,suppresstrailing,keep." ) ) );
m_argParser.add_argument( ARG_DRILL_ORIGIN )
.default_value( std::string( "absolute" ) )
@ -147,13 +148,13 @@ int CLI::EXPORT_PCB_DRILL_COMMAND::Perform( KIWAY& aKiway )
{
drillJob->m_zeroFormat = JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::DECIMAL;
}
else if( zeroFormat == wxS( "supressleading" ) )
else if( zeroFormat == wxS( "suppressleading" ) )
{
drillJob->m_zeroFormat = JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::SUPRESS_LEADING;
drillJob->m_zeroFormat = JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::SUPPRESS_LEADING;
}
else if( zeroFormat == wxS( "surpresstrailing" ) )
else if( zeroFormat == wxS( "suppresstrailing" ) )
{
drillJob->m_zeroFormat = JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::SUPRESS_TRAILING;
drillJob->m_zeroFormat = JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::SUPPRESS_TRAILING;
}
else if( zeroFormat == wxS( "keep" ) )
{
@ -223,4 +224,4 @@ int CLI::EXPORT_PCB_DRILL_COMMAND::Perform( KIWAY& aKiway )
int exitCode = aKiway.ProcessJob( KIWAY::FACE_PCB, drillJob.get() );
return exitCode;
}
}

View File

@ -346,10 +346,10 @@ int PCBNEW_JOBS_HANDLER::JobExportDrill( JOB* aJob )
case JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::KEEP_ZEROS:
zeroFmt = EXCELLON_WRITER::KEEP_ZEROS;
break;
case JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::SUPRESS_LEADING:
case JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::SUPPRESS_LEADING:
zeroFmt = EXCELLON_WRITER::SUPPRESS_LEADING;
break;
case JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::SUPRESS_TRAILING:
case JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::SUPPRESS_TRAILING:
zeroFmt = EXCELLON_WRITER::SUPPRESS_TRAILING;
break;
case JOB_EXPORT_PCB_DRILL::ZEROS_FORMAT::DECIMAL:
@ -462,4 +462,4 @@ int PCBNEW_JOBS_HANDLER::JobExportPos( JOB* aJob )
}
return CLI::EXIT_CODES::OK;
}
}