mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 08:10:05 +02:00
Update Import.cpp
Replace misleading warning when user attempts to import an AUP file.
This commit is contained in:
parent
ce0d8ddcab
commit
862e960764
@ -701,6 +701,13 @@ int Importer::Import(wxString fName,
|
|||||||
return 0;
|
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
|
// 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());
|
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());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user