From bc7066a20e5d71dccf4013e593390a4a574df1d2 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Wed, 9 Dec 2020 17:41:22 -0500 Subject: [PATCH] More uniformity of file write error messages --- src/ProjectFileManager.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ProjectFileManager.cpp b/src/ProjectFileManager.cpp index 4c52360c4..ef2f18a8f 100644 --- a/src/ProjectFileManager.cpp +++ b/src/ProjectFileManager.cpp @@ -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;