From f36991d7a91a4fd38c4159d51396b0f44422fd19 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 18 Mar 2024 18:09:37 +0100 Subject: [PATCH] Improve formatting of FAILED_READ errors. --- src/wx/verify_dcp_dialog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wx/verify_dcp_dialog.cc b/src/wx/verify_dcp_dialog.cc index 7694121b1..c77f68ea1 100644 --- a/src/wx/verify_dcp_dialog.cc +++ b/src/wx/verify_dcp_dialog.cc @@ -136,7 +136,7 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr job for (auto i: job->notes()) { switch (i.code()) { case dcp::VerificationNote::Code::FAILED_READ: - add (i, std_to_wx(*i.note())); + add (i, _("Could not read DCP (%n)")); break; case dcp::VerificationNote::Code::MISMATCHED_CPL_HASHES: add(i, _("The hash (%reference_hash) of the CPL %n in the PKL does not agree with the CPL file (%calculated_hash). This probably means that the CPL file is corrupt.")); -- 2.30.2