mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 15:23:48 +01:00
Translate "Message" as default title of message box...
... This required a sweeping change of all calls to wxMessageBox! But it seems safe to me, despite the great number of touched files.
This commit is contained in:
@@ -39,6 +39,7 @@ other settings.
|
||||
#include "../Prefs.h"
|
||||
#include "../Project.h"
|
||||
#include "../ShuttleGui.h"
|
||||
#include "../widgets/ErrorDialog.h"
|
||||
|
||||
#include "MidiIOPrefs.h"
|
||||
|
||||
@@ -281,7 +282,7 @@ bool MidiIOPrefs::Validate()
|
||||
{
|
||||
long latency;
|
||||
if (!mLatency->GetValue().ToLong(&latency)) {
|
||||
wxMessageBox(_("The MIDI Synthesizer Latency must be an integer"));
|
||||
AudacityMessageBox(_("The MIDI Synthesizer Latency must be an integer"));
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user