Commit strings are user-visible menu strings.

This commit is contained in:
Jeff Young 2024-06-24 14:16:05 +01:00
parent 561106bd01
commit b227bae2c6
8 changed files with 12 additions and 12 deletions

View File

@ -639,7 +639,7 @@ bool DIALOG_BOARD_REANNOTATE::ReannotateBoard()
m_frame->GetCanvas()->GetView()->Update( footprint ); // Touch the footprint
}
commit.Push( wxT( "Geographic reannotation" ) );
commit.Push( _( "Annotation" ) );
return true;
}

View File

@ -255,7 +255,7 @@ void DIALOG_GLOBAL_DELETION::DoGlobalDeletions()
}
}
commit.Push( wxT( "Global delete" ) );
commit.Push( _( "Global Delete" ) );
if( m_delMarkers->GetValue() )
board->DeleteMARKERs();

View File

@ -602,7 +602,7 @@ bool DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::TransferDataFromWindow()
}
}
commit.Push( wxT( "Edit text and graphics properties" ) );
commit.Push( _( "Edit Text and Graphics" ) );
m_parent->GetCanvas()->Refresh();
return true;

View File

@ -790,7 +790,7 @@ void FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB( wxCommandEvent& aEvent )
newFootprint->SetPosition( VECTOR2I( 0, 0 ) );
viewControls->SetCrossHairCursorPosition( cursorPos, false );
commit.Push( wxT( "Insert footprint" ) );
commit.Push( _( "Insert Footprint" ) );
pcbframe->Raise();
toolMgr->PostAction( PCB_ACTIONS::placeFootprint, newFootprint );

View File

@ -749,7 +749,7 @@ int BOARD_EDITOR_CONTROL::TrackWidthInc( const TOOL_EVENT& aEvent )
}
}
commit.Push( wxT( "Increase Track Width" ) );
commit.Push( _( "Increase Track Width" ) );
return 0;
}
@ -831,7 +831,7 @@ int BOARD_EDITOR_CONTROL::TrackWidthDec( const TOOL_EVENT& aEvent )
}
}
commit.Push( wxT( "Decrease Track Width" ) );
commit.Push( _( "Decrease Track Width" ) );
return 0;
}
@ -915,7 +915,7 @@ int BOARD_EDITOR_CONTROL::ViaSizeInc( const TOOL_EVENT& aEvent )
}
}
commit.Push( wxT( "Increase Via Size" ) );
commit.Push( _( "Increase Via Size" ) );
}
else
{
@ -1406,7 +1406,7 @@ int BOARD_EDITOR_CONTROL::ZoneMerge( const TOOL_EVENT& aEvent )
{
if( mergeZones( m_frame, commit, toMerge, merged ) )
{
commit.Push( wxT( "Merge Zones" ) );
commit.Push( _( "Merge Zones" ) );
for( EDA_ITEM* item : merged )
m_toolMgr->RunAction( PCB_ACTIONS::selectItem, item );

View File

@ -528,7 +528,7 @@ std::vector<BOARD_ITEM*> DRAWING_TOOL::DrawBoardCharacteristics( const VECTOR2I&
for( BOARD_ITEM* item : objects )
commit.Add( item );
commit.Push( wxT( "Board Characteristics" ) );
commit.Push( _( "Board Characteristics" ) );
}
tableSize->x = tableSize2.x;
@ -661,7 +661,7 @@ int DRAWING_TOOL::InteractivePlaceWithPreview( const TOOL_EVENT& aEvent,
} );
}
commit.Push( wxT( "Placing items" ) );
commit.Push( _( "Place Items" ) );
m_frame->PopTool( aEvent );
break;

View File

@ -179,7 +179,7 @@ int GLOBAL_EDIT_TOOL::SwapLayers( const TOOL_EVENT& aEvent )
if( hasChanges )
{
frame()->OnModify();
m_commit->Push( wxT( "Swap Layers" ) );
m_commit->Push( _( "Swap Layers" ) );
frame()->GetCanvas()->Refresh();
}

View File

@ -345,7 +345,7 @@ int GROUP_TOOL::RemoveFromGroup( const TOOL_EVENT& aEvent )
commit.Stage( boardItem, CHT_UNGROUP );
}
commit.Push( wxT( "Remove Group Items" ) );
commit.Push( _( "Remove Group Items" ) );
m_toolMgr->PostEvent( EVENTS::SelectedItemsModified );
m_frame->OnModify();