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
1 changed files with 1 additions and 4 deletions

View File

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