Make message window title translatable in a rescue dialog.
This commit is contained in:
parent
3c6c6dcc88
commit
22fdfa61ef
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue