24 format =
XO(
"Audacity failed to open a file in %s.");
27 format =
XO(
"Audacity failed to read from a file in %s.");
33XO(
"Audacity successfully wrote a file in %s but failed to rename it as %s.");
47 return "Error:_Opening_or_reading_file";
51 return "Error:_Disk_full_or_not_writable";
62 return XO(
"Audacity failed to write to a file.\n"
63 "Perhaps %s is not writable or the disk is full.\n"
64 "For tips on freeing up space, click the help button."
MessageBoxException for failures of file operations.
TranslatableString ErrorMessage() const override
Format an error message appropriate for the Cause.
~FileException() override
wxString ErrorHelpUrl() const override
@ Write
most important to detect when storage space is exhausted
@ Rename
involves two filenames
static TranslatableString WriteFailureMessage(const wxFileName &fileName)
Holds a msgid for the translation catalog; may also bind format arguments.
FILES_API wxString AbbreviatePath(const wxFileName &fileName)
Give enough of the path to identify the device. (On Windows, drive letter plus ':')