summaryrefslogtreecommitdiff
path: root/src/wx/verify_dcp_result_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-29 15:45:46 +0200
committerCarl Hetherington <cth@carlh.net>2026-04-02 01:20:16 +0200
commita9e2fb162571350bda8a5289a1f64060e9e82c98 (patch)
treebd18a59aaa9ceb340147bf513c7221b65b38f902 /src/wx/verify_dcp_result_panel.cc
parent846bca5ca37cc2725ea1f6994172c6399b05b0b2 (diff)
INVALID_PICTURE_SIZE_IN_PIXELS: note -> size_in_pixels.
Diffstat (limited to 'src/wx/verify_dcp_result_panel.cc')
-rw-r--r--src/wx/verify_dcp_result_panel.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wx/verify_dcp_result_panel.cc b/src/wx/verify_dcp_result_panel.cc
index 24571c500..56e31fa90 100644
--- a/src/wx/verify_dcp_result_panel.cc
+++ b/src/wx/verify_dcp_result_panel.cc
@@ -230,6 +230,9 @@ VerifyDCPResultPanel::add(shared_ptr<const VerifyDCPJob> job, bool many)
if (auto const error = note.error()) {
message.Replace(char_to_wx("%error"), std_to_wx(*error));
}
+ if (auto const size_in_pixels = note.size_in_pixels()) {
+ message.Replace(char_to_wx("%size_in_pixels"), wxString::Format(char_to_wx("%dx%d"), size_in_pixels->width, size_in_pixels->height));
+ }
return message;
};
@@ -345,7 +348,7 @@ VerifyDCPResultPanel::add(shared_ptr<const VerifyDCPJob> job, bool many)
add(i.second, _("The invalid language tag %language is used."));
break;
case dcp::VerificationNote::Code::INVALID_PICTURE_SIZE_IN_PIXELS:
- add(i.second, _("The video asset %f uses the invalid image size %n."));
+ add(i.second, _("The video asset %f uses the invalid image size %size_in_pixels."));
break;
case dcp::VerificationNote::Code::INVALID_PICTURE_FRAME_RATE_FOR_2K:
add(i.second, _("The video asset %f uses the invalid frame rate %frame_rate."));