1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +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

@@ -1079,7 +1079,7 @@ void NyqBench::OnSave(wxCommandEvent & e)
if (!mScript->SaveFile(mPath.GetFullPath()))
{
wxMessageBox(_("Script was not saved."),
AudacityMessageBox(_("Script was not saved."),
_("Warning"),
wxICON_EXCLAMATION,
this);
@@ -1109,7 +1109,7 @@ void NyqBench::OnSaveAs(wxCommandEvent & e)
if (!mScript->SaveFile(mPath.GetFullPath()))
{
wxMessageBox(_("Script was not saved."),
AudacityMessageBox(_("Script was not saved."),
_("Warning"),
wxICON_EXCLAMATION,
this);
@@ -1484,7 +1484,7 @@ void NyqBench::OnFindDialog(wxFindDialogEvent & e)
}
if (pos == wxString::npos) {
wxMessageBox(_("No matches found"),
AudacityMessageBox(_("No matches found"),
_("Nyquist Effect Workbench"),
wxOK | wxCENTER,
e.GetDialog());
@@ -1621,7 +1621,7 @@ bool NyqBench::Validate()
{
if (mScript->GetLastPosition() > 0 && mScript->IsModified()) {
int ans;
ans = wxMessageBox(_("Code has been modified. Are you sure?"),
ans = AudacityMessageBox(_("Code has been modified. Are you sure?"),
_("Warning"),
wxYES_NO | wxICON_QUESTION,
this);