Move some functions up the file so we can use them.
[dcpomatic.git] / src / wx / verify_dcp_dialog.cc
index 595ef18d6261464f6af720aad83106ba58ba3df1..55bbc99c358ce0f5ac9101f8cb1721449abf37b2 100644 (file)
@@ -359,6 +359,12 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr<VerifyDCPJob> job
                        add(i, wxString::Format(_("The reel duration (%s) of some timed text is not the same as the ContainerDuration (%s) of its MXF."), std_to_wx(parts[0]), std_to_wx(parts[1])));
                        break;
                }
+               case dcp::VerificationNote::Code::MISSED_CHECK_OF_ENCRYPTED:
+                       add(i, _("Part of the DCP could not be checked because no KDM was available."));
+                       break;
+               case dcp::VerificationNote::Code::EMPTY_TEXT:
+                       add(i, _("At least one <Text> node in a subtitle or closed caption is empty."));
+                       break;
                }
        }