1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Add i18n hint for the libsndfile error message, in response to query from Atsushi YOSHIDA

This commit is contained in:
richardash1981 2010-03-06 16:27:23 +00:00
parent dd3e052379
commit 430c64084f

View File

@ -548,6 +548,9 @@ int ExportPCM::Export(AudacityProject *project,
char buffer2[1000];
sf_error_str(sf, buffer2, 1000);
wxMessageBox(wxString::Format(
/* i18n-hint: %s will be the error message from libsndfile, which
* is usually something unhelpful (and untranslated) like "system
* error" */
_("Error while writing %s file (disk full?).\nLibsndfile says \"%s\""),
formatStr.c_str(),
wxString::FromAscii(buffer2).c_str()));