Use Title Case for property names
This commit is contained in:
parent
afa08b710c
commit
4f36f669dc
|
@ -2592,16 +2592,16 @@ static struct SCH_SYMBOL_DESC
|
|||
|
||||
const wxString groupAttributes = _HKI( "Attributes" );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<SCH_SYMBOL, bool>( _HKI( "Exclude from board" ),
|
||||
propMgr.AddProperty( new PROPERTY<SCH_SYMBOL, bool>( _HKI( "Exclude From Board" ),
|
||||
&SCH_SYMBOL::SetExcludedFromBoard, &SCH_SYMBOL::GetExcludedFromBoard ),
|
||||
groupAttributes );
|
||||
propMgr.AddProperty( new PROPERTY<SCH_SYMBOL, bool>( _HKI( "Exclude from simulation" ),
|
||||
propMgr.AddProperty( new PROPERTY<SCH_SYMBOL, bool>( _HKI( "Exclude From Simulation" ),
|
||||
&SCH_SYMBOL::SetExcludedFromSim, &SCH_SYMBOL::GetExcludedFromSim ),
|
||||
groupAttributes );
|
||||
propMgr.AddProperty( new PROPERTY<SCH_SYMBOL, bool>( _HKI( "Exclude from bill of materials" ),
|
||||
propMgr.AddProperty( new PROPERTY<SCH_SYMBOL, bool>( _HKI( "Exclude From Bill of Materials" ),
|
||||
&SCH_SYMBOL::SetExcludedFromBOM, &SCH_SYMBOL::GetExcludedFromBOM ),
|
||||
groupAttributes );
|
||||
propMgr.AddProperty( new PROPERTY<SCH_SYMBOL, bool>( _HKI( "Do not populate" ),
|
||||
propMgr.AddProperty( new PROPERTY<SCH_SYMBOL, bool>( _HKI( "Do Not Populate" ),
|
||||
&SCH_SYMBOL::SetDNP, &SCH_SYMBOL::GetDNP ),
|
||||
groupAttributes );
|
||||
}
|
||||
|
|
|
@ -272,13 +272,13 @@ static struct BOARD_CONNECTED_ITEM_DESC
|
|||
curvePts->SetAvailableFunc( supportsTeardrops );
|
||||
propMgr.AddProperty( curvePts, groupTeardrops );
|
||||
|
||||
auto preferZones = new PROPERTY<BOARD_CONNECTED_ITEM, bool>( _HKI( "Prefer zone connections" ),
|
||||
auto preferZones = new PROPERTY<BOARD_CONNECTED_ITEM, bool>( _HKI( "Prefer Zone Connections" ),
|
||||
&BOARD_CONNECTED_ITEM::SetTeardropPreferZoneConnections,
|
||||
&BOARD_CONNECTED_ITEM::GetTeardropPreferZoneConnections );
|
||||
preferZones->SetAvailableFunc( supportsTeardropPreferZoneSetting );
|
||||
propMgr.AddProperty( preferZones, groupTeardrops );
|
||||
|
||||
auto twoTracks = new PROPERTY<BOARD_CONNECTED_ITEM, bool>( _HKI( "Allow teardrops to span two tracks" ),
|
||||
auto twoTracks = new PROPERTY<BOARD_CONNECTED_ITEM, bool>( _HKI( "Allow Teardrops To Span Two Tracks" ),
|
||||
&BOARD_CONNECTED_ITEM::SetTeardropAllowSpanTwoTracks,
|
||||
&BOARD_CONNECTED_ITEM::GetTeardropAllowSpanTwoTracks );
|
||||
twoTracks->SetAvailableFunc( supportsTeardrops );
|
||||
|
|
|
@ -3407,10 +3407,10 @@ static struct FOOTPRINT_DESC
|
|||
&FOOTPRINT::SetValue, &FOOTPRINT::GetValueAsString ),
|
||||
groupFootprint );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, wxString>( _HKI( "Library link" ),
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, wxString>( _HKI( "Library Link" ),
|
||||
NO_SETTER( FOOTPRINT, wxString ), &FOOTPRINT::GetFPIDAsString ),
|
||||
groupFootprint );
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, wxString>( _HKI( "Library description" ),
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, wxString>( _HKI( "Library Description" ),
|
||||
NO_SETTER( FOOTPRINT, wxString ), &FOOTPRINT::GetLibDescription ),
|
||||
groupFootprint );
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, wxString>( _HKI( "Keywords" ),
|
||||
|
@ -3419,22 +3419,22 @@ static struct FOOTPRINT_DESC
|
|||
|
||||
const wxString groupAttributes = _HKI( "Attributes" );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>( _HKI( "Not in schematic" ),
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>( _HKI( "Not in Schematic" ),
|
||||
&FOOTPRINT::SetBoardOnly, &FOOTPRINT::IsBoardOnly ), groupAttributes );
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>( _HKI( "Exclude from position files" ),
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>( _HKI( "Exclude From Position Files" ),
|
||||
&FOOTPRINT::SetExcludedFromPosFiles, &FOOTPRINT::IsExcludedFromPosFiles ),
|
||||
groupAttributes );
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>( _HKI( "Exclude from bill of materials" ),
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>( _HKI( "Exclude From Bill of Materials" ),
|
||||
&FOOTPRINT::SetExcludedFromBOM, &FOOTPRINT::IsExcludedFromBOM ),
|
||||
groupAttributes );
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>( _HKI( "Do not populate" ),
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>( _HKI( "Do not Populate" ),
|
||||
&FOOTPRINT::SetDNP, &FOOTPRINT::IsDNP ),
|
||||
groupAttributes );
|
||||
|
||||
const wxString groupOverrides = _HKI( "Overrides" );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, bool>(
|
||||
_HKI( "Exempt from courtyard requirement" ),
|
||||
_HKI( "Exempt From Courtyard Requirement" ),
|
||||
&FOOTPRINT::SetAllowMissingCourtyard, &FOOTPRINT::AllowMissingCourtyard ),
|
||||
groupOverrides );
|
||||
propMgr.AddProperty( new PROPERTY<FOOTPRINT, int>( _HKI( "Clearance Override" ),
|
||||
|
|
|
@ -2070,39 +2070,39 @@ static struct PCB_TUNING_PATTERN_DESC
|
|||
groupTab );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY_ENUM<PCB_TUNING_PATTERN, LENGTH_TUNING_MODE>(
|
||||
_HKI( "Tuning mode" ),
|
||||
_HKI( "Tuning Mode" ),
|
||||
NO_SETTER( PCB_TUNING_PATTERN, LENGTH_TUNING_MODE ),
|
||||
&PCB_TUNING_PATTERN::GetTuningMode ),
|
||||
groupTab );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TUNING_PATTERN, int>(
|
||||
_HKI( "Min amplitude" ),
|
||||
_HKI( "Min Amplitude" ),
|
||||
&PCB_TUNING_PATTERN::SetMinAmplitude,
|
||||
&PCB_TUNING_PATTERN::GetMinAmplitude,
|
||||
PROPERTY_DISPLAY::PT_SIZE, ORIGIN_TRANSFORMS::ABS_X_COORD ),
|
||||
groupTab );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TUNING_PATTERN, int>(
|
||||
_HKI( "Max amplitude" ),
|
||||
_HKI( "Max Amplitude" ),
|
||||
&PCB_TUNING_PATTERN::SetMaxAmplitude,
|
||||
&PCB_TUNING_PATTERN::GetMaxAmplitude,
|
||||
PROPERTY_DISPLAY::PT_SIZE, ORIGIN_TRANSFORMS::ABS_X_COORD ),
|
||||
groupTab );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY_ENUM<PCB_TUNING_PATTERN, PNS::MEANDER_SIDE>(
|
||||
_HKI( "Initial side" ),
|
||||
_HKI( "Initial Side" ),
|
||||
&PCB_TUNING_PATTERN::SetInitialSide,
|
||||
&PCB_TUNING_PATTERN::GetInitialSide ),
|
||||
groupTab );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TUNING_PATTERN, int>(
|
||||
_HKI( "Min spacing" ), &PCB_TUNING_PATTERN::SetSpacing,
|
||||
_HKI( "Min Spacing" ), &PCB_TUNING_PATTERN::SetSpacing,
|
||||
&PCB_TUNING_PATTERN::GetSpacing, PROPERTY_DISPLAY::PT_SIZE,
|
||||
ORIGIN_TRANSFORMS::ABS_X_COORD ),
|
||||
groupTab );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TUNING_PATTERN, int>(
|
||||
_HKI( "Corner radius %" ),
|
||||
_HKI( "Corner Radius %" ),
|
||||
&PCB_TUNING_PATTERN::SetCornerRadiusPercentage,
|
||||
&PCB_TUNING_PATTERN::GetCornerRadiusPercentage,
|
||||
PROPERTY_DISPLAY::PT_DEFAULT, ORIGIN_TRANSFORMS::NOT_A_COORD ),
|
||||
|
@ -2124,7 +2124,7 @@ static struct PCB_TUNING_PATTERN_DESC
|
|||
};
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TUNING_PATTERN, long long int>(
|
||||
_HKI( "Target length" ),
|
||||
_HKI( "Target Length" ),
|
||||
&PCB_TUNING_PATTERN::SetTargetLength,
|
||||
&PCB_TUNING_PATTERN::GetTargetLength,
|
||||
PROPERTY_DISPLAY::PT_SIZE, ORIGIN_TRANSFORMS::ABS_X_COORD ),
|
||||
|
@ -2133,7 +2133,7 @@ static struct PCB_TUNING_PATTERN_DESC
|
|||
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TUNING_PATTERN, int>(
|
||||
_HKI( "Target skew" ), &PCB_TUNING_PATTERN::SetTargetSkew,
|
||||
_HKI( "Target Skew" ), &PCB_TUNING_PATTERN::SetTargetSkew,
|
||||
&PCB_TUNING_PATTERN::GetTargetSkew,
|
||||
PROPERTY_DISPLAY::PT_SIZE, ORIGIN_TRANSFORMS::ABS_X_COORD ),
|
||||
groupTab )
|
||||
|
@ -2141,7 +2141,7 @@ static struct PCB_TUNING_PATTERN_DESC
|
|||
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_TUNING_PATTERN, bool>(
|
||||
_HKI( "Override custom rules" ),
|
||||
_HKI( "Override Custom Rules" ),
|
||||
&PCB_TUNING_PATTERN::SetOverrideCustomRules,
|
||||
&PCB_TUNING_PATTERN::GetOverrideCustomRules ),
|
||||
groupTab );
|
||||
|
|
|
@ -162,7 +162,7 @@ void PCB_GENERATOR::SetProperties( const STRING_ANY_MAP& aProps )
|
|||
std::vector<std::pair<wxString, wxVariant>> PCB_GENERATOR::GetRowData()
|
||||
{
|
||||
#ifdef GENERATOR_ORDER
|
||||
return { { _HKI( "Update order" ), wxString::FromCDouble( GetUpdateOrder() ) } };
|
||||
return { { _HKI( "Update Order" ), wxString::FromCDouble( GetUpdateOrder() ) } };
|
||||
#else
|
||||
return { {} };
|
||||
#endif
|
||||
|
@ -199,7 +199,7 @@ static struct PCB_GENERATOR_DESC
|
|||
|
||||
const wxString groupTab = _HKI( "Generator Properties" );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<PCB_GENERATOR, int>( _HKI( "Update order" ),
|
||||
propMgr.AddProperty( new PROPERTY<PCB_GENERATOR, int>( _HKI( "Update Order" ),
|
||||
&PCB_GENERATOR::SetUpdateOrder,
|
||||
&PCB_GENERATOR::GetUpdateOrder ),
|
||||
groupTab );
|
||||
|
|
Loading…
Reference in New Issue