Browse Source

Commit strings are user-visible menu strings.

jobs
Jeff Young 1 year ago
parent
commit
b227bae2c6
  1. 2
      pcbnew/dialogs/dialog_board_reannotate.cpp
  2. 2
      pcbnew/dialogs/dialog_global_deletion.cpp
  3. 2
      pcbnew/dialogs/dialog_global_edit_text_and_graphics.cpp
  4. 2
      pcbnew/footprint_viewer_frame.cpp
  5. 8
      pcbnew/tools/board_editor_control.cpp
  6. 4
      pcbnew/tools/drawing_stackup_table_tool.cpp
  7. 2
      pcbnew/tools/global_edit_tool.cpp
  8. 2
      pcbnew/tools/group_tool.cpp

2
pcbnew/dialogs/dialog_board_reannotate.cpp

@ -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;
}

2
pcbnew/dialogs/dialog_global_deletion.cpp

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

2
pcbnew/dialogs/dialog_global_edit_text_and_graphics.cpp

@ -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;

2
pcbnew/footprint_viewer_frame.cpp

@ -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 );

8
pcbnew/tools/board_editor_control.cpp

@ -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 );

4
pcbnew/tools/drawing_stackup_table_tool.cpp

@ -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;

2
pcbnew/tools/global_edit_tool.cpp

@ -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();
}

2
pcbnew/tools/group_tool.cpp

@ -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();

Loading…
Cancel
Save