Make a few sentences more easy to translate.

This commit is contained in:
jean-pierre charras 2017-11-15 15:38:45 +01:00
parent 01871c5694
commit eaaa85c2c0
1 changed files with 6 additions and 6 deletions

View File

@ -363,8 +363,8 @@ bool LIB_EDIT_FRAME::SaveActiveLibrary( bool newFile )
if( !wxCopyFile( libFileName.GetFullPath(), backupFileName.GetFullPath() ) ) if( !wxCopyFile( libFileName.GetFullPath(), backupFileName.GetFullPath() ) )
{ {
libFileName.MakeAbsolute(); libFileName.MakeAbsolute();
msg = _( "Failed to rename old symbol library to file " ) + msg.Printf( _( "Failed to rename old symbol library to file '%s'" ),
backupFileName.GetFullPath(); backupFileName.GetFullPath() );
DisplayError( this, msg ); DisplayError( this, msg );
return false; return false;
} }
@ -384,8 +384,8 @@ bool LIB_EDIT_FRAME::SaveActiveLibrary( bool newFile )
if( !wxCopyFile( docFileName.GetFullPath(), backupFileName.GetFullPath() ) ) if( !wxCopyFile( docFileName.GetFullPath(), backupFileName.GetFullPath() ) )
{ {
msg = _( "Failed to save old library document to file " ) + msg.Printf( _( "Failed to save old library document to file '%s'" ),
backupFileName.GetFullPath(); backupFileName.GetFullPath() );
DisplayError( this, msg ); DisplayError( this, msg );
return false; return false;
} }
@ -398,7 +398,7 @@ bool LIB_EDIT_FRAME::SaveActiveLibrary( bool newFile )
if( !wxCopyFile( src.GetFullPath(), libFileName.GetFullPath() ) ) if( !wxCopyFile( src.GetFullPath(), libFileName.GetFullPath() ) )
{ {
msg.Printf( _( "Failed to copy symbol library file " ) + libFileName.GetFullPath() ); msg.Printf( _( "Failed to copy symbol library file '%s'" ), libFileName.GetFullPath() );
DisplayError( this, msg ); DisplayError( this, msg );
return false; return false;
} }
@ -407,7 +407,7 @@ bool LIB_EDIT_FRAME::SaveActiveLibrary( bool newFile )
if( !wxCopyFile( src.GetFullPath(), docFileName.GetFullPath() ) ) if( !wxCopyFile( src.GetFullPath(), docFileName.GetFullPath() ) )
{ {
msg.Printf( _( "Failed to copy symbol library document file " ) + msg.Printf( _( "Failed to copy symbol library document file '%s'" ),
docFileName.GetFullPath() ); docFileName.GetFullPath() );
DisplayError( this, msg ); DisplayError( this, msg );
return false; return false;