mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-17 00:07:54 +01:00
AudacityMessageBox takes TranslatableString message and caption
This commit is contained in:
@@ -156,8 +156,10 @@ void HandlePrint(
|
||||
AudacityPrintout printout(name, tracks, panel);
|
||||
if (!printer.Print(parent, &printout, true)) {
|
||||
if (wxPrinter::GetLastError() == wxPRINTER_ERROR) {
|
||||
AudacityMessageBox(_("There was a problem printing."),
|
||||
_("Print"), wxOK);
|
||||
AudacityMessageBox(
|
||||
XO("There was a problem printing."),
|
||||
XO("Print"),
|
||||
wxOK);
|
||||
}
|
||||
else {
|
||||
// Do nothing, the user cancelled...
|
||||
|
||||
Reference in New Issue
Block a user