mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Add i18n hint for the libsndfile error message, in response to query from Atsushi YOSHIDA
This commit is contained in:
parent
dd3e052379
commit
430c64084f
@ -548,6 +548,9 @@ int ExportPCM::Export(AudacityProject *project,
|
|||||||
char buffer2[1000];
|
char buffer2[1000];
|
||||||
sf_error_str(sf, buffer2, 1000);
|
sf_error_str(sf, buffer2, 1000);
|
||||||
wxMessageBox(wxString::Format(
|
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\""),
|
_("Error while writing %s file (disk full?).\nLibsndfile says \"%s\""),
|
||||||
formatStr.c_str(),
|
formatStr.c_str(),
|
||||||
wxString::FromAscii(buffer2).c_str()));
|
wxString::FromAscii(buffer2).c_str()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user