X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fverify_dcp_dialog.cc;h=6d1d157c1704cfa585a253eb5929786dfcc38a91;hb=aa8bb6ae4fe4f3bb113a5d304429937f25e30191;hp=036a60d7f3ccf14b2ae14d7ceab8d0c6a30d3cb0;hpb=255d13d09375ecdb11771ac6fda38a66f6a1ab29;p=dcpomatic.git diff --git a/src/wx/verify_dcp_dialog.cc b/src/wx/verify_dcp_dialog.cc index 036a60d7f..6d1d157c1 100644 --- a/src/wx/verify_dcp_dialog.cc +++ b/src/wx/verify_dcp_dialog.cc @@ -22,14 +22,14 @@ #include "verify_dcp_dialog.h" #include "wx_util.h" #include "lib/verify_dcp_job.h" -#include "lib/warnings.h" -#include #include -#include -DCPOMATIC_DISABLE_WARNINGS +#include +#include +LIBDCP_DISABLE_WARNINGS #include #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS +#include using std::list; @@ -149,7 +149,7 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr job add(i, _("No ASSETMAP or ASSETMAP.xml file was found.")); break; case dcp::VerificationNote::Code::INVALID_INTRINSIC_DURATION: - add(i, _("The asset %n has an instrinsic duration of less than 1 second, which is invalid.")); + add(i, _("The asset %n has an intrinsic duration of less than 1 second, which is invalid.")); break; case dcp::VerificationNote::Code::INVALID_DURATION: add(i, _("The asset %n has a duration of less than 1 second, which is invalid.")); @@ -338,7 +338,7 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr job add(i, _("A 2K JPEG2000 frame contains %n tile parts instead of 3.")); break; case dcp::VerificationNote::Code::INVALID_JPEG2000_TILE_PARTS_FOR_4K: - add(i, _("A 2K JPEG2000 frame contains %n tile parts instead of 6.")); + add(i, _("A 4K JPEG2000 frame contains %n tile parts instead of 6.")); break; case dcp::VerificationNote::Code::MISSING_JPEG200_TLM_MARKER: add(i, _("A JPEG2000 frame has no TLM marker.")); @@ -362,6 +362,21 @@ VerifyDCPDialog::VerifyDCPDialog (wxWindow* parent, shared_ptr job 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 node in a subtitle or closed caption is empty.")); + break; + case dcp::VerificationNote::Code::MISMATCHED_CLOSED_CAPTION_VALIGN: + add(i, _("Some closed or nodes have different vertical alignments within a .")); + break; + case dcp::VerificationNote::Code::INCORRECT_CLOSED_CAPTION_ORDERING: + add(i, _("Some closed captions are not listed in the order of their vertical position.")); + break; + case dcp::VerificationNote::Code::UNEXPECTED_ENTRY_POINT: + add(i, _("There is a tag inside a .")); + break; + case dcp::VerificationNote::Code::UNEXPECTED_DURATION: + add(i, _("There is a tag inside a .")); + break; } }