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

This commit is contained in:
Konstantin Baranovskiy
2021-01-12 14:33:35 +00:00
committed by Ian McInerney
parent 45b1a65a64
commit cd2c46e5c9
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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();