diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-03-23 00:50:11 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-03-31 22:48:53 +0200 |
| commit | e0a70cd5cfb11fc2de167f3146acdd437a6faa82 (patch) | |
| tree | 022ceef78d7daa12bccf519ebab0db5e23a3feb6 /src/wx/smpte_metadata_dialog.h | |
| parent | 8640da877450479a85c73b2a921897d83b478c84 (diff) | |
Put subtitle language back into content from the film (#1930).
This also adds the main/additional language flag.
Of all the considerations about how to specify subtitle language,
the most important seems to be that the language specification happens
for the content where the language is; i.e. in the content text tab.
Diffstat (limited to 'src/wx/smpte_metadata_dialog.h')
| -rw-r--r-- | src/wx/smpte_metadata_dialog.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/wx/smpte_metadata_dialog.h b/src/wx/smpte_metadata_dialog.h index 63d90249c..83c1ab39c 100644 --- a/src/wx/smpte_metadata_dialog.h +++ b/src/wx/smpte_metadata_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2019-2020 Carl Hetherington <cth@carlh.net> + Copyright (C) 2019-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,6 +18,7 @@ */ + #include "editable_list.h" #include "full_language_tag_dialog.h" #include "lib/film.h" @@ -49,10 +50,6 @@ private: void set_content_versions (std::vector<std::string> v); void name_language_changed (dcp::LanguageTag tag); void audio_language_changed (dcp::LanguageTag tag); - void enable_main_subtitle_changed (); - void main_subtitle_language_changed (dcp::LanguageTag tag); - std::vector<dcp::LanguageTag> additional_subtitle_languages (); - void set_additional_subtitle_languages (std::vector<dcp::LanguageTag> languages); void edit_release_territory (); void version_number_changed (); void status_changed (); @@ -69,9 +66,6 @@ private: LanguageTagWidget* _name_language; LanguageTagWidget* _audio_language; - wxCheckBox* _enable_main_subtitle_language; - LanguageTagWidget* _main_subtitle_language; - EditableList<dcp::LanguageTag, LanguageTagDialog>* _additional_subtitle_languages; wxCheckBox* _enable_release_territory; /** The current release territory displayed in the UI; since we can't easily convert * the string in _release_territory_text to a RegionSubtag we just store the RegionSubtag |
