1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-25 07:43:54 +02: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:
Paul Licameli
2017-09-06 17:39:33 -04:00
parent 378c96fda1
commit ccb4bbac33
94 changed files with 369 additions and 344 deletions

View File

@@ -21,7 +21,6 @@ of languages for Audacity.
#include <wx/button.h>
#include <wx/choice.h>
#include <wx/intl.h>
#include <wx/msgdlg.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
@@ -29,6 +28,7 @@ of languages for Audacity.
#include "Languages.h"
#include "ShuttleGui.h"
#include "widgets/wxPanelWrapper.h"
#include "widgets/ErrorDialog.h"
class LangChoiceDialog final : public wxDialogWrapper {
public:
@@ -132,7 +132,7 @@ void LangChoiceDialog::OnOk(wxCommandEvent & WXUNUSED(event))
mLang.c_str(),
sname.c_str(),
slang.c_str());
if (wxMessageBox(msg, _("Confirm"), wxYES_NO) == wxNO) {
if (AudacityMessageBox(msg, _("Confirm"), wxYES_NO) == wxNO) {
return;
}
}