diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 3afcdeb44a..135cda1dd7 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -2866,7 +2866,7 @@ static struct FOOTPRINT_DESC &FOOTPRINT::SetOrientationDegrees, &FOOTPRINT::GetOrientationDegrees, PROPERTY_DISPLAY::PT_DEGREE ) ); - const wxString groupFootprint = _( "Footprint Properties" ); + const wxString groupFootprint = _HKI( "Footprint Properties" ); propMgr.AddProperty( new PROPERTY( _HKI( "Reference" ), &FOOTPRINT::SetReference, &FOOTPRINT::GetReferenceAsString ), @@ -2885,7 +2885,7 @@ static struct FOOTPRINT_DESC NO_SETTER( FOOTPRINT, wxString ), &FOOTPRINT::GetKeywords ), groupFootprint ); - const wxString groupAttributes = _( "Fabrication Attributes" ); + const wxString groupAttributes = _HKI( "Fabrication Attributes" ); propMgr.AddProperty( new PROPERTY( _HKI( "Not in schematic" ), &FOOTPRINT::SetBoardOnly, &FOOTPRINT::IsBoardOnly ), groupAttributes ); @@ -2896,7 +2896,7 @@ static struct FOOTPRINT_DESC &FOOTPRINT::SetExcludedFromBOM, &FOOTPRINT::IsExcludedFromBOM ), groupAttributes ); - const wxString groupOverrides = _( "Overrides" ); + const wxString groupOverrides = _HKI( "Overrides" ); propMgr.AddProperty( new PROPERTY( _HKI( "Exempt from courtyard requirement" ), diff --git a/pcbnew/pad.cpp b/pcbnew/pad.cpp index 56b31560ad..1eb2c6e13d 100644 --- a/pcbnew/pad.cpp +++ b/pcbnew/pad.cpp @@ -1746,7 +1746,7 @@ static struct PAD_DESC propMgr.OverrideAvailability( TYPE_HASH( PAD ), TYPE_HASH( BOARD_CONNECTED_ITEM ), _HKI( "Net Class" ), isCopperPad ); - const wxString groupPad = _( "Pad Properties" ); + const wxString groupPad = _HKI( "Pad Properties" ); auto padType = new PROPERTY_ENUM( _HKI( "Pad Type" ), &PAD::SetAttribute, &PAD::GetAttribute ); @@ -1801,7 +1801,7 @@ static struct PAD_DESC padToDie->SetAvailableFunc( isCopperPad ); propMgr.AddProperty( padToDie, groupPad ); - const wxString groupOverrides = _( "Overrides" ); + const wxString groupOverrides = _HKI( "Overrides" ); propMgr.AddProperty( new PROPERTY( _HKI( "Clearance Override" ), &PAD::SetLocalClearance, &PAD::GetLocalClearance, diff --git a/pcbnew/pcb_bitmap.cpp b/pcbnew/pcb_bitmap.cpp index 5a4dd58489..f1e75e5e07 100644 --- a/pcbnew/pcb_bitmap.cpp +++ b/pcbnew/pcb_bitmap.cpp @@ -229,7 +229,7 @@ static struct PCB_BITMAP_DESC REGISTER_TYPE( PCB_BITMAP ); propMgr.InheritsAfter( TYPE_HASH( PCB_BITMAP ), TYPE_HASH( BOARD_ITEM ) ); - const wxString groupBitmap = _( "Bitmap Properties" ); + const wxString groupBitmap = _HKI( "Bitmap Properties" ); propMgr.AddProperty( new PROPERTY( _HKI( "Scale" ), &PCB_BITMAP::SetImageScale, &PCB_BITMAP::GetImageScale ), diff --git a/pcbnew/pcb_dimension.cpp b/pcbnew/pcb_dimension.cpp index 052d7e8b0f..10cbc68758 100644 --- a/pcbnew/pcb_dimension.cpp +++ b/pcbnew/pcb_dimension.cpp @@ -1301,7 +1301,7 @@ static struct DIMENSION_DESC REGISTER_TYPE( PCB_DIMENSION_BASE ); propMgr.InheritsAfter( TYPE_HASH( PCB_DIMENSION_BASE ), TYPE_HASH( BOARD_ITEM ) ); - const wxString groupDimension = _( "Dimension Properties" ); + const wxString groupDimension = _HKI( "Dimension Properties" ); propMgr.AddProperty( new PROPERTY( _HKI( "Override Text" ), &PCB_DIMENSION_BASE::SetOverrideText, &PCB_DIMENSION_BASE::GetOverrideText ), diff --git a/pcbnew/pcb_track.cpp b/pcbnew/pcb_track.cpp index 87d2939209..d36fe77a57 100644 --- a/pcbnew/pcb_track.cpp +++ b/pcbnew/pcb_track.cpp @@ -1266,7 +1266,7 @@ static struct TRACK_VIA_DESC propMgr.InheritsAfter( TYPE_HASH( PCB_VIA ), TYPE_HASH( BOARD_CONNECTED_ITEM ) ); // TODO test drill, use getdrillvalue? - const wxString groupVia = _( "Via Properties" ); + const wxString groupVia = _HKI( "Via Properties" ); propMgr.Mask( TYPE_HASH( PCB_VIA ), TYPE_HASH( BOARD_CONNECTED_ITEM ), _HKI( "Layer" ) ); diff --git a/pcbnew/zone.cpp b/pcbnew/zone.cpp index 11eea1fbc6..9e30833c7d 100644 --- a/pcbnew/zone.cpp +++ b/pcbnew/zone.cpp @@ -1432,7 +1432,7 @@ static struct ZONE_DESC propMgr.AddProperty( new PROPERTY( _HKI( "Name" ), &ZONE::SetZoneName, &ZONE::GetZoneName ) ); - const wxString groupFill = _( "Fill Style" ); + const wxString groupFill = _HKI( "Fill Style" ); propMgr.AddProperty( new PROPERTY_ENUM( _HKI( "Fill Mode" ), &ZONE::SetFillMode, &ZONE::GetFillMode ), groupFill ); @@ -1461,7 +1461,7 @@ static struct ZONE_DESC // TODO: Smoothing amount (double) // Unexposed properties (HatchHoleMinArea / HatchBorderAlgorithm)? - const wxString groupOverrides = _( "Overrides" ); + const wxString groupOverrides = _HKI( "Overrides" ); auto clearanceOverride = new PROPERTY( _HKI( "Clearance Override" ), &ZONE::SetLocalClearance, &ZONE::GetLocalClearance,