1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-17 08:17:59 +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:
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

@@ -20,6 +20,7 @@ information.
#include <wx/arrstr.h>
#include <wx/intl.h>
#include "sndfile.h"
#include "widgets/ErrorDialog.h"
#ifndef SNDFILE_1
#error Requires libsndfile 1.0 or higher
@@ -285,7 +286,6 @@ OSType sf_header_mactype(int format)
#endif // __WXMAC__
#include <wx/msgdlg.h>
ODLock libSndFileMutex;
void SFFileCloser::operator() (SNDFILE *sf) const
@@ -294,7 +294,7 @@ void SFFileCloser::operator() (SNDFILE *sf) const
if (err) {
char buffer[1000];
sf_error_str(sf, buffer, 1000);
wxMessageBox(wxString::Format
AudacityMessageBox(wxString::Format
/* i18n-hint: %s will be the error message from libsndfile */
(_("Error (file may not have been written): %s"),
buffer));