Browse Source

Make "... file is read only." warnings translatable.

6.0.7
Konstantin Baranovskiy 5 years ago
committed by Ian McInerney
parent
commit
cd2c46e5c9
  1. 2
      eeschema/files-io.cpp
  2. 2
      pagelayout_editor/files.cpp
  3. 2
      pcbnew/pcb_edit_frame.cpp

2
eeschema/files-io.cpp

@ -563,7 +563,7 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector<wxString>& aFileSet, in
{
m_infoBar->RemoveAllButtons();
m_infoBar->AddCloseButton();
m_infoBar->ShowMessage( "Schematic file is read only.", wxICON_WARNING );
m_infoBar->ShowMessage( _( "Schematic file is read only." ), wxICON_WARNING );
}
#ifdef PROFILE

2
pagelayout_editor/files.cpp

@ -232,7 +232,7 @@ bool PL_EDITOR_FRAME::LoadPageLayoutDescrFile( const wxString& aFullFileName )
{
m_infoBar->RemoveAllButtons();
m_infoBar->AddCloseButton();
m_infoBar->ShowMessage( "Layout file is read only.", wxICON_WARNING );
m_infoBar->ShowMessage( _( "Layout file is read only." ), wxICON_WARNING );
}
return true;

2
pcbnew/pcb_edit_frame.cpp

@ -1067,7 +1067,7 @@ void PCB_EDIT_FRAME::onBoardLoaded()
{
m_infoBar->RemoveAllButtons();
m_infoBar->AddCloseButton();
m_infoBar->ShowMessage( "Board file is read only.", wxICON_WARNING );
m_infoBar->ShowMessage( _( "Board file is read only." ), wxICON_WARNING );
}
ReCreateLayerBox();

Loading…
Cancel
Save