← Back to team overview

kicad-developers team mailing list archive

[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 c7ce07a22..c96a775b7 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 3621d1dc2..04b3ad56f 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() );
 

Follow ups