From d6e899f5f9e3f3db10dbe17cf68508556ad5a83c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 15 Dec 2019 00:47:33 +0100 Subject: [PATCH] Add some missing verification messages. --- src/wx/verify_dcp_dialog.cc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/wx/verify_dcp_dialog.cc b/src/wx/verify_dcp_dialog.cc index f806bafda..a61d9bf11 100644 --- a/src/wx/verify_dcp_dialog.cc +++ b/src/wx/verify_dcp_dialog.cc @@ -99,6 +99,29 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr job case dcp::VerificationNote::PKL_CPL_SOUND_HASHES_DISAGREE: text = _("The PKL and CPL hashes disagree for a sound asset."); break; + case dcp::VerificationNote::EMPTY_ASSET_PATH: + text = _("An asset has an empty path in the ASSETMAP."); + break; + case dcp::VerificationNote::MISSING_ASSET: + text = _("An asset is missing."); + break; + case dcp::VerificationNote::MISMATCHED_STANDARD: + text = _("Parts of the DCP are written according to the Interop standard and parts according to SMPTE."); + break; + case dcp::VerificationNote::XML_VALIDATION_ERROR: + if (i.line()) { + text = wxString::Format( + _("The XML in %s is malformed on line %d."), + std_to_wx(i.file()->filename().string()).data(), + i.line().get() + ); + } else { + text = wxString::Format( + _("The XML in %s is malformed."), + std_to_wx(i.file()->filename().string()).data() + ); + } + break; } _text->WriteText (text); -- 2.30.2