From 758d5727b0e264aa9a39a653449b4038d6d9eae5 Mon Sep 17 00:00:00 2001 From: Simon Richter Date: Mon, 18 Dec 2017 17:47:20 +0100 Subject: [PATCH] Minor string fixes --- common/page_layout/page_layout_reader.cpp | 2 +- pcb_calculator/pcb_calculator_frame.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() );