1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

More uniformity of file write error messages

This commit is contained in:
Paul Licameli
2020-12-09 17:41:22 -05:00
parent 57134d93d6
commit bc7066a20e

View File

@@ -307,10 +307,7 @@ bool ProjectFileManager::DoSave(const FilePath & fileName, const bool fromSaveAs
ShowErrorDialog( ShowErrorDialog(
&window, &window,
XO("Error Saving Project"), XO("Error Saving Project"),
XO("Could not save project. Perhaps %s \n" FileException::WriteFailureMessage(fileName),
"is not writable or the disk is full.\n"
"For tips on freeing up space, click the help button.")
.Format(fileName),
"Error:_Disk_full_or_not_writable" "Error:_Disk_full_or_not_writable"
); );
return false; return false;