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
);
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"));
wxArrayString patrons;
patrons.Add ("Lightbender Post");
- patrons.Add ("Drop-out Cinema");
- patrons.Add ("Root & Rust Creative");
add_section (_("Patrons"), patrons);
wxArrayString subscribers;
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));
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));
panel->SetScrollRate (0, 32);
auto overall_sizer = new wxBoxSizer (wxHORIZONTAL);
- vector<wxSizer*> sizers;
-
- for (int i = 0; i < N; ++i) {
- sizers.push_back (new wxBoxSizer (wxVERTICAL));
- overall_sizer->Add (sizers.back (), 1, wxEXPAND | wxALL, 6);
- }
-
+ vector<wxString> 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;