mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-06 19:52:19 +01:00
XMLFileWriter takes TranslatableString caption
This commit is contained in:
@@ -483,7 +483,7 @@ bool ProjectFileManager::DoSave (const bool fromSaveAs,
|
||||
// And that cleanup is done by the destructor of saveFile, if PostCommit() is
|
||||
// not done.
|
||||
// (SetProject, when it fails, cleans itself up.)
|
||||
XMLFileWriter saveFile{ fileName, _("Error Saving Project") };
|
||||
XMLFileWriter saveFile{ fileName, XO("Error Saving Project") };
|
||||
success = GuardedCall< bool >( [&] {
|
||||
projectFileIO.WriteXMLHeader(saveFile);
|
||||
projectFileIO.WriteXML(saveFile, bWantSaveCopy ? &strOtherNamesArray : nullptr);
|
||||
|
||||
Reference in New Issue
Block a user