1
0
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:
Paul Licameli
2019-12-19 14:36:37 -05:00
parent 5e26ef1eba
commit 3a633e4fd8
10 changed files with 14 additions and 14 deletions

View File

@@ -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);