From 7e53282164d77b7e1dd272837b7d6da0ec1631a8 Mon Sep 17 00:00:00 2001 From: James Crook Date: Fri, 26 Apr 2019 18:10:36 +0100 Subject: [PATCH] Bug 2057 - Size problem is relevant to AIFF too. Change the error warning (in English only). Change the link page. --- src/export/ExportPCM.cpp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/export/ExportPCM.cpp b/src/export/ExportPCM.cpp index 2e4e01fee..381ab466e 100644 --- a/src/export/ExportPCM.cpp +++ b/src/export/ExportPCM.cpp @@ -403,11 +403,19 @@ ExportPCM::ExportPCM() // We can hook it in properly whilst translation happens. void ExportPCM::ReportTooBigError(wxWindow * pParent) { + //Temporary translation hack, to say 'WAV or AIFF' rather than 'WAV' + wxString message = + _("You have attempted to Export a WAV file which would be greater than 4GB.\n" + "Audacity cannot do this, the Export was abandoned."); + if( message == + "You have attempted to Export a WAV file which would be greater than 4GB.\n" + "Audacity cannot do this, the Export was abandoned.") + { + message.Replace( "WAV", "WAV or AIFF"); + } - ShowErrorDialog(pParent, _("Error Exporting"), - _("You have attempted to Export a WAV file which would be greater than 4GB.\n" - "Audacity cannot do this, the Export was abandoned."), - wxT("Size_limits_for_WAV_files")); + ShowErrorDialog(pParent, _("Error Exporting"), message, + wxT("Size_limits_for_WAV_and_AIFF_files")); // This alternative error dialog was to cover the possibility we could not // compute the size in advance.