Fix a not easy to translate message

This commit is contained in:
jean-pierre charras 2017-08-10 09:48:17 +02:00
parent b45af7f428
commit 81a4182319
1 changed files with 4 additions and 4 deletions

View File

@ -192,10 +192,10 @@ bool DIALOG_EXPORT_STEP::TransferDataFromWindow()
if( fn.FileExists() ) if( fn.FileExists() )
{ {
wxString msg( _( "File: " ) ); wxString msg;
msg.append( fn.GetFullPath() ); msg.Printf( _( "File: %s\n"
msg.append( "\n" ); "already exists. Do you want overwrite this file?" ),
msg.append( _( "already exists. Do you want overwrite this file?" ) ); fn.GetFullPath().GetData() );
if( wxMessageBox( msg, _( "STEP Export" ), wxYES_NO | wxICON_QUESTION, this ) == wxNO ) if( wxMessageBox( msg, _( "STEP Export" ), wxYES_NO | wxICON_QUESTION, this ) == wxNO )
return false; return false;