diff --git a/common/page_layout/page_layout_reader.cpp b/common/page_layout/page_layout_reader.cpp index c7ce07a22c..c96a775b7e 100644 --- a/common/page_layout/page_layout_reader.cpp +++ b/common/page_layout/page_layout_reader.cpp @@ -836,7 +836,7 @@ void WORKSHEET_LAYOUT::SetPageLayout( const wxString& aFullFileName, bool Append char * buffer = new char[filelen+10]; if( wksFile.Read( buffer, filelen ) != filelen ) - wxLogMessage( _("The file <%s> was not fully read"), + wxLogMessage( _("The file \"%s\" was not fully read"), fullFileName.GetData() ); else { diff --git a/pcb_calculator/pcb_calculator_frame.cpp b/pcb_calculator/pcb_calculator_frame.cpp index 3621d1dc24..04b3ad56f0 100644 --- a/pcb_calculator/pcb_calculator_frame.cpp +++ b/pcb_calculator/pcb_calculator_frame.cpp @@ -154,7 +154,7 @@ void PCB_CALCULATOR_FRAME::OnClosePcbCalc( wxCloseEvent& event ) if( !WriteDataFile() ) { wxString msg; - msg.Printf( _("Unable to write file\"%s\"\n"\ + msg.Printf( _("Unable to write file \"%s\"\n"\ "Do you want to exit and abandon your change?"), GetDataFilename().c_str() );