projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0856251
)
Improve formatting of FAILED_READ errors.
author
Carl Hetherington
<cth@carlh.net>
Mon, 18 Mar 2024 17:09:37 +0000
(18:09 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 18 Mar 2024 17:09:37 +0000
(18:09 +0100)
src/wx/verify_dcp_dialog.cc
patch
|
blob
|
history
diff --git
a/src/wx/verify_dcp_dialog.cc
b/src/wx/verify_dcp_dialog.cc
index 7694121b160120e8d9358fff71d5b50c6c7d6a2a..c77f68ea1dc2c7ea1baec1cbbf064d89cfa3963d 100644
(file)
--- 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."));