1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-31 16:09:28 +02:00

Bug 2057 - Size problem is relevant to AIFF too.

Change the error warning (in English only).  Change the link page.
This commit is contained in:
James Crook 2019-04-26 18:10:36 +01:00
parent 498507ddd3
commit 7e53282164

View File

@ -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.