AUP3: Remove unneeded error message

This commit is contained in:
Leland Lucius 2020-07-18 09:25:10 -05:00
parent bb9a881c2a
commit e669b365f1
2 changed files with 1 additions and 11 deletions

View File

@ -97,8 +97,7 @@ const Pair helpURLTable[] = {
"mismatched tag",
"#mismatched"
},
// These two errors with FAQ entries are reported elsewhere, not here....
//#[[#import-error|Error Importing: Aup is an Audacity Project file. Use the File > Open command]]
// This error with FAQ entry is reported elsewhere, not here....
//#[[#corrupt|Error Opening File or Project: File may be invalid or corrupted]]
};

View File

@ -797,15 +797,6 @@ bool Importer::Import( AudacityProject &project,
return false;
}
// Audacity project
if (extension.IsSameAs(wxT("aup3"), false)) {
errorMessage = XO(
/* i18n-hint: %s will be the filename */
"\"%s\" is an Audacity Project file. \nUse the 'File > Open' command to open Audacity Projects.")
.Format( fName );
return false;
}
if( !wxFileExists(fName)){
errorMessage = XO( "File \"%s\" not found.").Format( fName );
return false;