Make message window title translatable in a rescue dialog.

This commit is contained in:
unknown 2015-12-17 20:06:13 +01:00 committed by jean-pierre charras
parent 3c6c6dcc88
commit 22fdfa61ef
1 changed files with 4 additions and 2 deletions

View File

@ -524,7 +524,8 @@ bool SCH_EDIT_FRAME::RescueProject( bool aRunningOnDemand )
{ {
if( aRunningOnDemand ) if( aRunningOnDemand )
{ {
wxMessageDialog dlg( this, _( "This project has nothing to rescue." ) ); wxMessageDialog dlg( this, _( "This project has nothing to rescue." ),
_( "Project Rescue Helper" ) );
dlg.ShowModal(); dlg.ShowModal();
} }
return true; return true;
@ -538,7 +539,8 @@ bool SCH_EDIT_FRAME::RescueProject( bool aRunningOnDemand )
// have clicked cancel by mistake, and should have some indication of that. // have clicked cancel by mistake, and should have some indication of that.
if( !rescuer.GetChosenCandidateCount() ) if( !rescuer.GetChosenCandidateCount() )
{ {
wxMessageDialog dlg( this, _( "No symbols were rescued." ) ); wxMessageDialog dlg( this, _( "No symbols were rescued." ),
_( "Project Rescue Helper" ) );
dlg.ShowModal(); dlg.ShowModal();
// Set the modified flag even on Cancel. Many users seem to instinctively want to Save at // Set the modified flag even on Cancel. Many users seem to instinctively want to Save at