diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-16 22:19:39 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-21 22:07:15 +0200 |
| commit | b87e2660d0776f3d1380532ff0d2f3a28ed9d764 (patch) | |
| tree | ebddcef5b9a22b4e4e7475e20abf484f8aabd671 /src/tools/dcpomatic_verifier.cc | |
| parent | 748b182f27eedb006cb8493e12a389fa1c5883e7 (diff) | |
Extract all uses of DCP-o-matic name to allow branding.
Diffstat (limited to 'src/tools/dcpomatic_verifier.cc')
| -rw-r--r-- | src/tools/dcpomatic_verifier.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tools/dcpomatic_verifier.cc b/src/tools/dcpomatic_verifier.cc index 382516acc..273403a4e 100644 --- a/src/tools/dcpomatic_verifier.cc +++ b/src/tools/dcpomatic_verifier.cc @@ -30,6 +30,7 @@ #include "wx/verify_dcp_progress_panel.h" #include "wx/verify_dcp_result_panel.h" #include "wx/wx_util.h" +#include "wx/wx_variant.h" #include "lib/constants.h" #include "lib/cross.h" #include "lib/job_manager.h" @@ -146,7 +147,7 @@ private: bool OnInit() override { try { - SetAppName(_("DCP-o-matic Verifier")); + SetAppName(variant::wx::dcpomatic_verifier()); if (!wxApp::OnInit()) { return false; @@ -179,14 +180,14 @@ private: */ Config::drop(); - _frame = new DOMFrame(_("DCP-o-matic Verifier")); + _frame = new DOMFrame(variant::wx::dcpomatic_verifier()); SetTopWindow(_frame); _frame->SetSize({480, 640}); _frame->Show(); } catch (exception& e) { - error_dialog(nullptr, wxString::Format("DCP-o-matic Verifier could not start."), std_to_wx(e.what())); + error_dialog(nullptr, variant::wx::insert_dcpomatic_verifier("%s could not start."), std_to_wx(e.what())); } return true; |
