X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fabout_dialog.cc;h=2c742cce3a1549be4368297cbc0c59cd6f3e4496;hb=5f62647ae8896b62439fa6c29b66fd640072838a;hp=fbb89bfd665f2a4e1515c2b88941c0b5c48c086b;hpb=78f3772099a8e923bfd0bbe312dbdb9af0541ca6;p=dcpomatic.git diff --git a/src/wx/about_dialog.cc b/src/wx/about_dialog.cc index fbb89bfd6..2c742cce3 100644 --- a/src/wx/about_dialog.cc +++ b/src/wx/about_dialog.cc @@ -86,7 +86,7 @@ AboutDialog::AboutDialog (wxWindow* parent) t = new StaticText ( this, - _("(C) 2012-2023 Carl Hetherington, Terrence Meiczinger\n Ole Laursen"), + _("(C) 2012-2024 Carl Hetherington, Terrence Meiczinger\n Ole Laursen"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER ); @@ -143,6 +143,7 @@ AboutDialog::AboutDialog (wxWindow* parent) translated_by.Add (wxT ("David Perrenoud")); translated_by.Add (wxT ("Olivier Perriere")); translated_by.Add (wxT ("Markus Raab")); + translated_by.Add (wxT ("Soleyman Rahmani")); translated_by.Add (wxT ("Tiago Casal Ribeiro")); translated_by.Add (wxT ("Davide Sanvito")); translated_by.Add (wxT ("Marek Skrzelowski")); @@ -157,8 +158,6 @@ AboutDialog::AboutDialog (wxWindow* parent) wxArrayString patrons; patrons.Add ("Lightbender Post"); - patrons.Add ("Drop-out Cinema"); - patrons.Add ("Root & Rust Creative"); add_section (_("Patrons"), patrons); wxArrayString subscribers; @@ -232,6 +231,8 @@ AboutDialog::AboutDialog (wxWindow* parent) tested_by.Add (wxT ("Andreas Weiss")); tested_by.Add (wxT ("Paul Willmott")); tested_by.Add (wxT ("Wolfgang Woehl")); + tested_by.Add (wxT ("Benno Zwanenburg")); + tested_by.Add (wxT ("Дима Агатов")); add_section (_("Tested by"), tested_by); sizer->Add (_notebook, wxSizerFlags().Centre().Border(wxALL, 16)); @@ -254,7 +255,7 @@ void AboutDialog::add_section (wxString name, wxArrayString credits) { static auto first = true; - int const N = 4; + int const N = 3; auto panel = new wxScrolledWindow (_notebook); panel->SetMaxSize (wxSize (-1, 380)); @@ -262,22 +263,23 @@ AboutDialog::add_section (wxString name, wxArrayString credits) panel->SetScrollRate (0, 32); auto overall_sizer = new wxBoxSizer (wxHORIZONTAL); - vector sizers; - - for (int i = 0; i < N; ++i) { - sizers.push_back (new wxBoxSizer (wxVERTICAL)); - overall_sizer->Add (sizers.back (), 1, wxEXPAND | wxALL, 6); - } - + vector strings(N); int c = 0; for (size_t i = 0; i < credits.Count(); ++i) { - add_label_to_sizer (sizers[c], panel, credits[i], false); + strings[c] += credits[i] + wxT("\n"); ++c; if (c == N) { c = 0; } } + for (int i = 0; i < N; ++i) { + auto label = new wxStaticText(panel, wxID_ANY, strings[i]); + auto sizer = new wxBoxSizer(wxVERTICAL); + sizer->Add(label); + overall_sizer->Add(sizer, 1, wxEXPAND | wxALL, 6); + } + panel->SetSizerAndFit (overall_sizer); _notebook->AddPage (panel, name, first); first = false;