AUP3: Make the AUP3/AUP file types consistent
This commit is contained in:
parent
3954998083
commit
79b8c65f60
|
@ -53,7 +53,7 @@ const FileNames::FileType
|
|||
FileNames::AllFiles{ XO("All files"), { wxT("") } }
|
||||
/* i18n-hint an Audacity project is the state of the program, stored as
|
||||
files that can be reopened to resume the session later */
|
||||
, FileNames::AudacityProjects{ XO("Audacity projects"), { wxT("aup3") }, true }
|
||||
, FileNames::AudacityProjects{ XO("AUP3 project files"), { wxT("aup3") }, true }
|
||||
, FileNames::DynamicLibraries{
|
||||
#if defined(__WXMSW__)
|
||||
XO("Dynamically Linked Libraries"), { wxT("dll") }, true
|
||||
|
|
|
@ -186,6 +186,8 @@ Importer::GetFileTypes( const FileNames::FileType &extraType )
|
|||
|
||||
if ( !extraType.extensions.empty() )
|
||||
fileTypes.push_back( extraType );
|
||||
else
|
||||
fileTypes.push_back(FileNames::AudacityProjects);
|
||||
|
||||
FileNames::FileTypes l;
|
||||
for(const auto &importPlugin : sImportPluginList())
|
||||
|
@ -194,8 +196,6 @@ Importer::GetFileTypes( const FileNames::FileType &extraType )
|
|||
importPlugin->GetSupportedExtensions());
|
||||
}
|
||||
|
||||
l.push_back({XO("AUP3 project files"), {wxT("aup3")}});
|
||||
|
||||
using ExtensionSet = std::unordered_set< FileExtension >;
|
||||
FileExtensions allList = extraType.extensions, newList;
|
||||
ExtensionSet allSet{ allList.begin(), allList.end() }, newSet;
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
#include <map>
|
||||
|
||||
#define DESC XO("AUP project files")
|
||||
#define DESC XO("AUP project files (*.aup)")
|
||||
|
||||
static const auto exts = {wxT("aup")};
|
||||
|
||||
|
|
Loading…
Reference in New Issue