diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-07 05:53:33 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-07 06:29:03 +0100 |
| commit | eeadd37bcb60c199cac6fab8a85f56d339865565 (patch) | |
| tree | a7a1947ece4816f033f2f5476bd946f55bdd1c69 /src/wx | |
| parent | a32c6379ae3045b9121279f482a6adf57c73bc37 (diff) | |
Rename can_reference_*() -> can_reuse_*().
Diffstat (limited to 'src/wx')
| -rw-r--r-- | src/wx/dcp_referencing_dialog.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wx/dcp_referencing_dialog.cc b/src/wx/dcp_referencing_dialog.cc index 9f4a71658..6d9a76481 100644 --- a/src/wx/dcp_referencing_dialog.cc +++ b/src/wx/dcp_referencing_dialog.cc @@ -168,34 +168,34 @@ DCPReferencingDialog::setup() string why_not; - if (!dcp_content->can_reference_anything(_film, why_not)) { + if (!dcp_content->can_reuse_anything(_film, why_not)) { for (auto const& part: all_parts) { record.check_box[part]->Enable(false); } add_problem(_("Cannot reference this DCP"), why_not); } else { - if (!dcp_content->can_reference_video(_film, why_not)) { + if (!dcp_content->can_reuse_video(_film, why_not)) { record.check_box[Part::VIDEO]->Enable(false); if (dcp_content->video) { add_problem(_("Cannot reference this DCP's video"), why_not); } } - if (!dcp_content->can_reference_audio(_film, why_not)) { + if (!dcp_content->can_reuse_audio(_film, why_not)) { record.check_box[Part::AUDIO]->Enable(false); if (dcp_content->audio) { add_problem(_("Cannot reference this DCP's audio"), why_not); } } - if (!dcp_content->can_reference_text(_film, TextType::OPEN_SUBTITLE, why_not)) { + if (!dcp_content->can_reuse_text(_film, TextType::OPEN_SUBTITLE, why_not)) { record.check_box[Part::SUBTITLES]->Enable(false); if (dcp_content->text_of_original_type(TextType::OPEN_SUBTITLE)) { add_problem(_("Cannot reference this DCP's subtitles"), why_not); } } - if (!dcp_content->can_reference_text(_film, TextType::CLOSED_CAPTION, why_not)) { + if (!dcp_content->can_reuse_text(_film, TextType::CLOSED_CAPTION, why_not)) { record.check_box[Part::CLOSED_CAPTIONS]->Enable(false); if (dcp_content->text_of_original_type(TextType::CLOSED_CAPTION)) { add_problem(_("Cannot reference this DCP's closed captions"), why_not); |
