X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fabout_dialog.cc;h=db33ad64714028dd64283bd21f5d3682d0c41726;hb=9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94;hp=66201aec20881bc137ac50f81204e808297b4ecc;hpb=98664996b6a7ef62cbff49a174917a456f218e76;p=dcpomatic.git diff --git a/src/wx/about_dialog.cc b/src/wx/about_dialog.cc index 66201aec2..db33ad647 100644 --- a/src/wx/about_dialog.cc +++ b/src/wx/about_dialog.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2013-2017 Carl Hetherington + Copyright (C) 2013-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -24,6 +24,7 @@ #include "about_dialog.h" #include "wx_util.h" +#include "static_text.h" #include "lib/version.h" #include "lib/compose.hpp" #include @@ -47,22 +48,22 @@ AboutDialog::AboutDialog (wxWindow* parent) wxFont version_font (*wxNORMAL_FONT); version_font.SetWeight (wxFONTWEIGHT_BOLD); - wxStaticText* t = new wxStaticText (this, wxID_ANY, _("DCP-o-matic")); + wxStaticText* t = new StaticText (this, _("DCP-o-matic")); t->SetFont (title_font); sizer->Add (t, wxSizerFlags().Centre().Border(wxALL, 16)); wxString s; if (strcmp (dcpomatic_git_commit, "release") == 0) { - t = new wxStaticText (this, wxID_ANY, std_to_wx (String::compose ("Version %1", dcpomatic_version))); + t = new StaticText (this, std_to_wx(String::compose("Version %1", dcpomatic_version))); } else { - t = new wxStaticText (this, wxID_ANY, std_to_wx (String::compose ("Version %1 git %2", dcpomatic_version, dcpomatic_git_commit))); + t = new StaticText (this, std_to_wx(String::compose("Version %1 git %2", dcpomatic_version, dcpomatic_git_commit))); } t->SetFont (version_font); sizer->Add (t, wxSizerFlags().Centre().Border(wxALL, 2)); sizer->AddSpacer (12); - t = new wxStaticText ( - this, wxID_ANY, + t = new StaticText ( + this, _("Free, open-source DCP creation from almost anything."), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER ); @@ -78,8 +79,8 @@ AboutDialog::AboutDialog (wxWindow* parent) sizer->Add (h, wxSizerFlags().Centre().Border(wxALL, 8)); - t = new wxStaticText ( - this, wxID_ANY, + t = new StaticText ( + this, _("(C) 2012-2018 Carl Hetherington, Terrence Meiczinger\n Ole Laursen, Brecht Sanders"), wxDefaultPosition, wxDefaultSize, wxALIGN_CENTER ); @@ -91,6 +92,7 @@ AboutDialog::AboutDialog (wxWindow* parent) wxArrayString written_by; written_by.Add (wxT ("Carl Hetherington")); written_by.Add (wxT ("Terrence Meiczinger")); + written_by.Add (wxT ("Mart Jansink")); written_by.Add (wxT ("Ole Laursen")); written_by.Add (wxT ("Brecht Sanders")); written_by.Add (wxT ("Jianguo Huang")); @@ -100,6 +102,7 @@ AboutDialog::AboutDialog (wxWindow* parent) translated_by.Add (wxT ("Manuel AC")); translated_by.Add (wxT ("Max Aeschlimann")); translated_by.Add (wxT ("Thiago Andre")); + translated_by.Add (wxT ("Felice D'Andrea")); translated_by.Add (wxT ("Grégoire Ausina")); translated_by.Add (wxT ("Tomáš Begeni")); translated_by.Add (wxT ("Fabio \"Zak\" Belli")); @@ -131,13 +134,18 @@ AboutDialog::AboutDialog (wxWindow* parent) wxArrayString with_help_from; with_help_from.Add (wxT ("David Vignoni")); with_help_from.Add (wxT ("Dennis Couzin")); + with_help_from.Add (wxT ("Carsten Kurz")); with_help_from.Add (wxT ("Gérald Maruccia")); with_help_from.Add (wxT ("Julian van Mil")); add_section (_("With help from"), with_help_from); + wxArrayString subscribers; + #include "subscribers.cc" + add_section (_("Subscribers"), subscribers); + wxArrayString supported_by; - #include "../../build/supporters.cc" - add_section (_("Supported by"), supported_by); + #include "supporters.cc" + add_section (_("Also supported by"), supported_by); wxArrayString tested_by; tested_by.Add (wxT ("Manuel AC"));