1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 16:10:06 +02:00

Improvements to the missing EQCurves.xml error dialog.

This commit is contained in:
martynshaw99 2010-12-03 00:57:56 +00:00
parent d767dc8f1d
commit 9c0f933b0c

View File

@ -985,9 +985,10 @@ void EqualizationDialog::LoadCurves(wxString fileName, bool append)
wxString fullFn = fn.GetFullPath();
if( !fn.FileExists() )
{ // Default file not found. Give up and advise user
wxString errorMessage = _("EQCurves.xml not found on your system.\nPlease press 'help' to visit the download page.");
wxString errorMessage;
errorMessage.Printf(_("EQCurves.xml not found on your system.\nPlease press 'help' to visit the download page.\n\nSave the curves at %s"), FileNames::DataDir().c_str());
ShowErrorDialog(this, _("EQCurves.xml missing"),
errorMessage, wxT("http://wiki.audacityteam.org/wiki/Default_EQCurves"));
errorMessage, wxT("http://wiki.audacityteam.org/wiki/EQCurvesDownload"));
mCurves.Add( _("unnamed") ); // we still need a default curve to use
return;
}