@@ -360,7 +360,7 @@ bool ProjectFileManager::DoSave (const bool fromSaveAs,
360
360
auto &projectFileIO = ProjectFileIO::Get ( proj );
361
361
const auto &settings = ProjectSettings::Get ( proj );
362
362
363
- wxASSERT_MSG (!bWantSaveCopy || fromSaveAs, " Copy Project SHOULD only be availabele from SaveAs" );
363
+ wxASSERT_MSG (!bWantSaveCopy || fromSaveAs, " Copy Project SHOULD only be available from SaveAs" );
364
364
365
365
// Some confirmation dialogs
366
366
if (!bWantSaveCopy)
@@ -931,7 +931,7 @@ will be irreversibly overwritten.").Format( fName, fName );
931
931
}
932
932
else
933
933
{
934
- // Overwrite disalowed . The destination project is open in another window.
934
+ // Overwrite disallowed . The destination project is open in another window.
935
935
AudacityMessageDialog m (
936
936
nullptr ,
937
937
XO (" The project will not saved because the selected project is open in another window.\n Please try again and select an original name." ),
@@ -1226,7 +1226,7 @@ void ProjectFileManager::OpenFile(const FilePath &fileNameArg, bool addtohistory
1226
1226
auto &window = ProjectWindow::Get ( project );
1227
1227
1228
1228
// On Win32, we may be given a short (DOS-compatible) file name on rare
1229
- // occassions (e.g. stuff like "C:\PROGRA~1\AUDACI~1\PROJEC~1.AUP"). We
1229
+ // occasions (e.g. stuff like "C:\PROGRA~1\AUDACI~1\PROJEC~1.AUP"). We
1230
1230
// convert these to long file name first.
1231
1231
auto fileName = PlatformCompatibility::ConvertSlashInFileName (
1232
1232
PlatformCompatibility::GetLongFileName (fileNameArg));
@@ -1444,7 +1444,7 @@ void ProjectFileManager::OpenFile(const FilePath &fileNameArg, bool addtohistory
1444
1444
// Going through OnClose() may be overkill, but it's safe.
1445
1445
/*
1446
1446
// There was an error in the load/check and the user
1447
- // explictly opted to close the project.
1447
+ // explicitly opted to close the project.
1448
1448
mTracks->Clear(true);
1449
1449
mFileName = wxT("");
1450
1450
SetProjectTitle();
@@ -1598,7 +1598,7 @@ ProjectFileManager::AddImportedTracks(const FilePath &fileName,
1598
1598
// See bug #1224
1599
1599
// The track panel hasn't we been fully created, so the DoZoomFit() will not give
1600
1600
// expected results due to a window width of zero. Should be safe to yield here to
1601
- // allow the creattion to complete. If this becomes a problem, it "might" be possible
1601
+ // allow the creation to complete. If this becomes a problem, it "might" be possible
1602
1602
// to queue a dummy event to trigger the DoZoomFit().
1603
1603
wxEventLoopBase::GetActive ()->YieldFor (wxEVT_CATEGORY_UI | wxEVT_CATEGORY_USER_INPUT);
1604
1604
#endif
0 commit comments