mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 07:01:18 +02:00
Bug 2185 - Import2: Incorrect error message if file not found
This commit is contained in:
@@ -669,6 +669,11 @@ bool Importer::Import(const FilePath &fName,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( !wxFileExists(fName)){
|
||||||
|
errorMessage.Printf(_("File \"%s\" not found."), fName);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// 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'.\nTry installing FFmpeg. For uncompressed files, also try File > Import > Raw Data."),fName);
|
errorMessage.Printf(_("Audacity did not recognize the type of the file '%s'.\nTry installing FFmpeg. For uncompressed files, also try File > Import > Raw Data."),fName);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user