From a019626719ae50a46b095e046fad1d2c5dc47580 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop <dudesuchamazing@gmail.com> Date: Tue, 18 Feb 2025 22:25:00 +0300 Subject: [PATCH] Restore some strings. --- common/gestfich.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/gestfich.cpp b/common/gestfich.cpp index 913a4cddcc..a28cc63599 100644 --- a/common/gestfich.cpp +++ b/common/gestfich.cpp @@ -425,7 +425,8 @@ bool CopyFilesOrDirectory( const wxString& aSourcePath, const wxString& aDestDir return true; } - aErrors += wxString::Format( _( "Could not copy file: %s to %s\n" ), src, dest ); + aErrors += wxString::Format( _( "Could not copy file: %s to %s" ), src, dest ); + aErrors += wxT( "\n" ); return false; }; @@ -473,8 +474,10 @@ bool CopyFilesOrDirectory( const wxString& aSourcePath, const wxString& aDestDir if( !CopyFilesOrDirectory( entrySrc, destDir, aErrors, aFileCopiedCount, aExclusions ) ) { - aErrors += wxString::Format( _( "Could not copy directory: %s to %s\n" ), + aErrors += wxString::Format( _( "Could not copy directory: %s to %s" ), entrySrc, entryDest ); + aErrors += wxT( "\n" ); + success = false; } }