Make "... file is read only." warnings translatable.
This commit is contained in:
parent
45b1a65a64
commit
cd2c46e5c9
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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…
Reference in New Issue