From 9ac757ebc300c64675d470caef8d4d4e5e098b3d Mon Sep 17 00:00:00 2001 From: Panagiotis Vasilopoulos Date: Thu, 22 Jul 2021 16:41:03 +0000 Subject: [PATCH] Updated About Dialog * Add names (Not final yet) * Added contact information for every contributor (Not final yet) * Add "Special Thanks" section * Improve some logic * Add notice regarding the alphabetical order * Improved tagline Signed-off-by: Panagiotis Vasilopoulos --- src/AboutDialog.cpp | 67 +++++++++++++++++++++++++++++++++++---------- src/AboutDialog.h | 4 ++- 2 files changed, 56 insertions(+), 15 deletions(-) diff --git a/src/AboutDialog.cpp b/src/AboutDialog.cpp index dbe9baadd..052579396 100644 --- a/src/AboutDialog.cpp +++ b/src/AboutDialog.cpp @@ -66,7 +66,7 @@ static wxString NoRevisionText = XO("No revision identifier was provided").Trans // To substitute into many other translatable strings static const auto ProgramName = Verbatim("Tenacity"); -static const auto PreforkProgramName = Verbatim("Pre-fork"); +static const auto PreforkProgramName = Verbatim("Audacity"); // ---------------------------------------------------------------------------- @@ -123,8 +123,16 @@ void AboutDialog::CreateTenacityTab(ShuttleGui& AboutDialogGUI) { GenerateTenacityPageDescription(tenacityPageContent); GenerateTenacityTeamMembersInfo(tenacityPageContent); + GenerateSpecialThanksInfo(tenacityPageContent); GenerateTenacityLibsInfo(tenacityPageContent); + // Pre-form (Audacity) credits + + tenacityPageContent + << wxT("

") + << PreforkProgramName + << wxT("

"); + GeneratePreforkTeamMembersInfo(tenacityPageContent); GeneratePreforkEmeritusInfo(tenacityPageContent); GeneratePreforkContributorInfo(tenacityPageContent); @@ -620,6 +628,13 @@ void AboutDialog::CreateLicenseTab(ShuttleGui& AboutDialogGUI) { void AboutDialog::PopulateCreditsList() { + /* i18n-hint: For "About Tenacity..." credits, substituting a person's proper name */ + const auto tenacity_leadDeveloperFormat = XO("%s, lead Tenacity developer"); + /* i18n-hint: For "About Tenacity..." credits, substituting a person's proper name */ + const auto tenacity_developerFormat = XO("%s, Tenacity developer"); + /* i18n-hint: For "About Tenacity..." credits, substituting a person's proper name */ + const auto tenacity_contributorFormat = XO("%s, Tenacity contributor"); + /* i18n-hint: For "About Tenacity..." credits, substituting a person's proper name */ const auto prefork_sysAdminFormat = XO("%s, system administration"); /* i18n-hint: For "About Tenacity..." credits, substituting a person's proper name */ @@ -651,14 +666,25 @@ void AboutDialog::PopulateCreditsList() { /* i18n-hint: For "About Tenacity..." credits, substituting a person's proper name */ const auto prefork_graphicsFormat = XO("%s, graphics"); - /* i18n-hint: For "About Tenacity..." credits, substituting a person's proper name */ - const auto tenacity_leadDeveloperFormat = XO("%s, lead Tenacity developer"); - /* i18n-hint: For "About Tenacity..." credits, substituting a person's proper name */ - const auto tenacity_developerFormat = XO("%s, Tenacity developer"); + // Contributors - AddCredit(wxT("Emily Mabrey [[https://github.com/emabrey|emabrey]]"), tenacity_leadDeveloperFormat, roleTenacityTeamMember); - AddCredit(wxT("Semisol [[https://github.com/Semisol|Semisol]]"), tenacity_developerFormat, roleTenacityTeamMember); - AddCredit(wxT("Be [[https://github.com/Be-ing/|Be-ing]]"), tenacity_developerFormat, roleTenacityTeamMember); + AddCredit(wxT("abb128 ([[https://github.com/abb128|GitHub]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("AnotherFoxGuy ([[https://github.com/AnotherFoxGuy|GitHub]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("Ajay Ramachandran ([[https://ajay.app|Website]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("Be ([[https://github.com/Be-ing/|GitHub]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("caughtquick ([[https://caughtquick.tech|Website]]"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("Emily \"emabrey\" Mabrey ([[https://github.com/emabrey|GitHub]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("fossdd ([[https://github.com/fossdd|GitHub]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("nyanpasu64 ([[https://github.com/nyanpasu64|GitHub]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("Panagiotis \"AlwaysLivid\" Vasilopoulos ([[https://alwayslivid.com|Website]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("Rikard \"akleja\" Jansson ([[https://github.com/akleja|GitHub]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("Semisol ([[https://github.com/Semisol|GitHub]])"), tenacity_contributorFormat, roleTenacityTeamMember); + AddCredit(wxT("Sol Fisher Romanoff ([[https://solfisher.com|Website]])"), tenacity_contributorFormat, roleTenacityTeamMember); + + // Thanks + + AddCredit(wxT("Drew \"SirCmpwn\" DeVault"), roleThanks); + AddCredit(wxT("Filipe \"falkTX\" Coelho"), roleThanks); // Libraries section @@ -822,12 +848,12 @@ void AboutDialog::GenerateTenacityPageDescription(wxTextOutputStream& tos) { #else << XO("

") << ProgramName - << wxT(" ") - << wxString(AUDACITY_VERSION_STRING) - << wxT("

") + // << wxT(" ") + // << wxString(AUDACITY_VERSION_STRING) + << wxT("") /* i18n-hint: The program's name substitutes for %s */ - << XO("%s the free, open source, cross-platform software for recording and editing sounds.") - .Format(ProgramName) + << XO("Free, open source, cross-platform audio recorder and editor.") + << wxT("") #endif // << wxT("


") @@ -837,6 +863,9 @@ void AboutDialog::GenerateTenacityPageDescription(wxTextOutputStream& tos) { << wxT("

") << XO("Credits") << wxT("

") + << wxT("

") + << XO("Please note that names are sorted in alphabetical order, not in order of importance.") + << wxT("

") << wxT("

"); // DA: Customisation credit @@ -853,12 +882,22 @@ void AboutDialog::GenerateTenacityPageDescription(wxTextOutputStream& tos) { void AboutDialog::GenerateTenacityTeamMembersInfo(wxTextOutputStream& tos) { tos << wxT("

") + // To be replaced. Later. /* i18n-hint: The program's name substitutes for %s */ - << XO("%s Team Members").Format(ProgramName) + << XO("%s Contributors").Format(ProgramName) << wxT("
") << GetCreditsByRole(roleTenacityTeamMember); } +void AboutDialog::GenerateSpecialThanksInfo(wxTextOutputStream& tos) { + + tos + << wxT("

") + << XO("Special thanks:") + << wxT("
") + << GetCreditsByRole(roleThanks); +} + void AboutDialog::GenerateTenacityLibsInfo(wxTextOutputStream& tos) { tos << wxT("

") diff --git a/src/AboutDialog.h b/src/AboutDialog.h index 1cd594d80..5b27b78aa 100644 --- a/src/AboutDialog.h +++ b/src/AboutDialog.h @@ -46,12 +46,13 @@ class AUDACITY_DLL_API AboutDialog final : public wxDialogWrapper{ enum Role { roleTenacityTeamMember, + roleThanks, + roleLibrary, rolePreforkTeamMember, rolePreforkEmeritusTeam, rolePreforkDeceased, rolePreforkContributor, rolePreforkGraphics, - roleLibrary, rolePreforkThanks }; @@ -63,6 +64,7 @@ class AUDACITY_DLL_API AboutDialog final : public wxDialogWrapper{ static wxImage GenerateTenacityLogoRescaledImage(const float fScale); void GenerateTenacityPageDescription(wxTextOutputStream & tos); void GenerateTenacityTeamMembersInfo(wxTextOutputStream & tos); + void GenerateSpecialThanksInfo(wxTextOutputStream & tos); void GenerateTenacityLibsInfo(wxTextOutputStream & tos); void GeneratePreforkTeamMembersInfo(wxTextOutputStream & tos);