mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-21 16:37:12 +01:00
AudacityMessageBox takes TranslatableString message and caption
This commit is contained in:
@@ -300,8 +300,11 @@ bool ConvertLegacyProjectFile(const wxFileName &filename)
|
||||
xmlFile.EndTag(wxT("audacityproject"));
|
||||
xmlFile.Commit();
|
||||
|
||||
::AudacityMessageBox(wxString::Format(_("Converted a 1.0 project file to the new format.\nThe old file has been saved as '%s'"), xmlFile.GetBackupName()),
|
||||
_("Opening Audacity Project"));
|
||||
::AudacityMessageBox(
|
||||
XO(
|
||||
"Converted a 1.0 project file to the new format.\nThe old file has been saved as '%s'")
|
||||
.Format( xmlFile.GetBackupName() ),
|
||||
XO("Opening Audacity Project"));
|
||||
|
||||
return true;
|
||||
} );
|
||||
|
||||
Reference in New Issue
Block a user