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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user