diff --git a/eeschema/files-io.cpp b/eeschema/files-io.cpp index 5886ae70c7..f8a3e82872 100644 --- a/eeschema/files-io.cpp +++ b/eeschema/files-io.cpp @@ -563,7 +563,7 @@ bool SCH_EDIT_FRAME::OpenProjectFiles( const std::vector& 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 diff --git a/pagelayout_editor/files.cpp b/pagelayout_editor/files.cpp index 3633feb38c..050c30c01f 100644 --- a/pagelayout_editor/files.cpp +++ b/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; diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index b5e45ff8e8..275f745dc9 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/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();