mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-09 08:31:13 +02:00
Add Help Button.
Two more disk full errors were missing help-link buttons.
This commit is contained in:
parent
528d04c8f0
commit
4810897b74
@ -291,13 +291,13 @@ bool ProjectFileManager::DoSave(const FilePath & fileName, const bool fromSaveAs
|
|||||||
|
|
||||||
if ( !wxRenameFile(fileName, safetyFileName) )
|
if ( !wxRenameFile(fileName, safetyFileName) )
|
||||||
{
|
{
|
||||||
AudacityMessageBox(
|
ShowErrorDialog(
|
||||||
XO(
|
&window,
|
||||||
"Audacity failed to write file %s.\nPerhaps disk is full or not writable.")
|
|
||||||
.Format(safetyFileName),
|
|
||||||
XO("Error Writing to File"),
|
XO("Error Writing to File"),
|
||||||
wxICON_STOP,
|
XO("Audacity failed to write file %s.\nPerhaps disk is full or not writable.")
|
||||||
&window);
|
.Format(safetyFileName),
|
||||||
|
"Error:_Disk_full_or_not_writable"
|
||||||
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -305,13 +305,13 @@ bool ProjectFileManager::DoSave(const FilePath & fileName, const bool fromSaveAs
|
|||||||
bool success = projectFileIO.SaveProject(fileName, mLastSavedTracks);
|
bool success = projectFileIO.SaveProject(fileName, mLastSavedTracks);
|
||||||
if (!success)
|
if (!success)
|
||||||
{
|
{
|
||||||
AudacityMessageBox(
|
ShowErrorDialog(
|
||||||
XO(
|
&window,
|
||||||
"Could not save project. Perhaps %s \nis not writable or the disk is full.")
|
|
||||||
.Format(fileName),
|
|
||||||
XO("Error Saving Project"),
|
XO("Error Saving Project"),
|
||||||
wxICON_ERROR,
|
XO("Could not save project. Perhaps %s \nis not writable or the disk is full.")
|
||||||
&window);
|
.Format(fileName),
|
||||||
|
"Error:_Disk_full_or_not_writable"
|
||||||
|
);
|
||||||
|
|
||||||
if (fromSaveAs)
|
if (fromSaveAs)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user