diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-12-15 00:47:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-12-15 00:47:33 +0100 |
| commit | d6e899f5f9e3f3db10dbe17cf68508556ad5a83c (patch) | |
| tree | 39208f21e7d7fab82ad10bc16c21842159c2c743 /src | |
| parent | 914108159a15a678d8960880b21f1af92826bf87 (diff) | |
Add some missing verification messages.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/verify_dcp_dialog.cc | 23 |
1 files changed, 23 insertions, 0 deletions
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<VerifyDCPJob> 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); |
