summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-18 18:09:37 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-18 18:09:37 +0100
commitf36991d7a91a4fd38c4159d51396b0f44422fd19 (patch)
tree8648ac4893258b90fd5a09bb627f9f4f01df4559
parent08562514979d54288f850f95b8f514b1500614a1 (diff)
Improve formatting of FAILED_READ errors.
-rw-r--r--src/wx/verify_dcp_dialog.cc2
1 files changed, 1 insertions, 1 deletions
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<VerifyDCPJob> 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."));