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