1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

TranslatableString caption & message in MessageBoxException

This commit is contained in:
Paul Licameli
2019-12-07 10:04:35 -05:00
parent 54e2bbd8ff
commit 503ccabdd8
16 changed files with 50 additions and 53 deletions

View File

@@ -19,7 +19,7 @@ public:
explicit FileException
( Cause cause_, const wxFileName &fileName_,
const wxString &caption = _("File Error"),
const TranslatableString &caption = XO("File Error"),
const wxFileName &renameTarget_ = {})
: MessageBoxException{ caption }
, cause{ cause_ }, fileName{ fileName_ }, renameTarget{ renameTarget_ }
@@ -38,7 +38,7 @@ public:
protected:
// Format a default, internationalized error message for this exception.
wxString ErrorMessage() const override;
TranslatableString ErrorMessage() const override;
public:
Cause cause;