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

Update Import.cpp

Replace misleading warning when user attempts to import an AUP file.
This commit is contained in:
Steve Daulton 2015-04-13 17:12:49 +01:00
parent ce0d8ddcab
commit 862e960764

View File

@ -701,6 +701,13 @@ int Importer::Import(wxString fName,
return 0;
}
// Audacity project
if (extension.IsSameAs(wxT("aup"), false)) {
errorMessage.Printf(_("\"%s\" is an Audacity Project file. \nUse the 'File > Open' command to open Audacity Projects."), fName.c_str());
pProj->mbBusyImporting = false;
return 0;
}
// we were not able to recognize the file type
errorMessage.Printf(_("Audacity did not recognize the type of the file '%s'.\nIf it is uncompressed, try importing it using \"Import Raw\"."),fName.c_str());
}