1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-19 15:11:23 +01:00

clean-ups

This commit is contained in:
v.audacity
2013-03-08 03:27:49 +00:00
parent 1fd52b3796
commit f4e9b14baa

View File

@@ -196,19 +196,18 @@ AboutDialog::AboutDialog(wxWindow * parent)
void AboutDialog::PopulateAudacityPage( ShuttleGui & S ) void AboutDialog::PopulateAudacityPage( ShuttleGui & S )
{ {
wxString versionStr = AUDACITY_VERSION_STRING; creditItems.DeleteContents(true); // Switch on automatic deletion of list items.
creditItems.DeleteContents(true); // switchon automatic deletion of list items
CreateCreditsList(); CreateCreditsList();
wxString par1Str = _( wxString par1Str = _(
"Audacity is a free program written by a worldwide team of volunteer <a href=\"http://audacity.sourceforge.net/community/developers\">developers</a>. We thank <a href=\"http://sourceforge.net\">SourceForge.net</a> and <a href=\"http://code.google.com\">Google Code</a> for our project hosting. Audacity is <a href=\"http://audacity.sourceforge.net/download/\">available</a> for Windows, Mac, and GNU/Linux (and other Unix-like systems)."); "Audacity is a free program written by a worldwide team of volunteer <a href=\"http://audacity.sourceforge.net/community/developers\">developers</a>. \
We thank <a href=\"http://code.google.com\">Google Code</a> and <a href=\"http://sourceforge.net\">SourceForge.net</a> for hosting our project. \
Audacity is <a href=\"http://audacity.sourceforge.net/download/\">available</a> for Windows, Mac, and GNU/Linux (and other Unix-like systems).");
// No such thing as an official released 'beta' anymore, so keep this string simple.
wxString par2Str = _( wxString par2Str = _(
"If you find a bug or have a suggestion for us, please write to our <a href=\"mailto:feedback@audacityteam.org\">Feedback</a> address. For help, view the tips and tricks on our <a href=\"http://wiki.audacityteam.org/\">Wiki</a> or visit our <a href=\"http://forum.audacityteam.org/\">Forum</a>."); "If you find a bug or have a suggestion for us, please write to our <a href=\"mailto:feedback@audacityteam.org\">feedback address</a>. \
For help, view the tips and tricks on our <a href=\"http://wiki.audacityteam.org/\">wiki</a> or \
visit our <a href=\"http://forum.audacityteam.org/\">forum</a>.");
wxString translatorCredits; wxString translatorCredits;
/* i18n-hint: The translation of "translator_credits" will appear /* i18n-hint: The translation of "translator_credits" will appear
@@ -216,10 +215,9 @@ void AboutDialog::PopulateAudacityPage( ShuttleGui & S )
* your own name(s) to the credits. * your own name(s) to the credits.
* *
* For example: "English translation by Dominic Mazzoni." */ * For example: "English translation by Dominic Mazzoni." */
if (_("translator_credits") != wxString(wxT("translator_credits"))) { if (_("translator_credits") != wxString(wxT("translator_credits")))
translatorCredits += wxT("<p><center>"); {
translatorCredits += _("translator_credits"); translatorCredits = _("translator_credits");
translatorCredits += wxT("</center>");
} }
wxString localeStr = wxLocale::GetSystemEncodingName(); wxString localeStr = wxLocale::GetSystemEncodingName();
@@ -228,57 +226,39 @@ void AboutDialog::PopulateAudacityPage( ShuttleGui & S )
localeStr + localeStr +
wxT("\"></head>") + wxT("\"></head>") +
wxT("<body bgcolor=\"#ffffff\"><center>") + wxT("<body bgcolor=\"#ffffff\"><center>") +
wxT("<h3>Audacity ") + versionStr + wxT("</h3>")+ wxT("<h3>Audacity ") + wxString(AUDACITY_VERSION_STRING) + wxT("</h3>")+
_("A Free Digital Audio Editor<br>") + _("free, open source, cross-platform software for recording and editing sounds<br>") +
wxT("<a href=\"http://audacity.sourceforge.net/\">http://audacity.sourceforge.net/</a>") + wxT("<a href=\"http://audacity.sourceforge.net/\">http://audacity.sourceforge.net/</a>") +
wxT("</center><p>") + par1Str + wxT("<p><br>") + par1Str +
wxT("<p>") + par2Str + wxT("<p>") + par2Str +
wxT("<p><center><b>") + _("Credits") + wxT("</b></center>") wxT("<h3>") + _("Credits") + wxT("</h3>") +
+ translatorCredits + wxT("<p>") + translatorCredits +
wxT("<p><center><b>") +
/* i18n-hint: %s will be replaced by the version number.*/ wxT("<p><b>") + wxString::Format(_("Audacity Developers")) + wxT("</b><br>") +
wxString::Format(_("Audacity %s Development Team"), versionStr.c_str()) +
wxT("</b><br>") +
GetCreditsByRole(roleTeamDeveloper) + GetCreditsByRole(roleTeamDeveloper) +
wxT("<p><br><b>") +
/* i18n-hint: %s will be replaced by the version number.*/ wxT("<p><b>") + wxString::Format(_("Audacity Support Team")) + wxT("</b><br>") +
wxString::Format(_("Audacity %s Support Team"), versionStr.c_str()) +
wxT("</b><br>") +
GetCreditsByRole(roleTeamSupport) + GetCreditsByRole(roleTeamSupport) +
wxT("<p><br><b>") +
_("Emeritus Developers") + wxT("<p><b>") + _("Emeritus Developers") + wxT("</b><br>") +
wxT("</b><br>") +
GetCreditsByRole(roleEmeritusDeveloper) + GetCreditsByRole(roleEmeritusDeveloper) +
wxT("<p><br><b>") +
_("Other Emeritus Team Members") + wxT("<p><b>") + _(" Emeritus Team Members") + wxT("</b><br>") +
wxT("</b><br>") +
GetCreditsByRole(roleEmeritusSupport) + GetCreditsByRole(roleEmeritusSupport) +
wxT("<p><br><b>") +
_("Other Contributors") + wxT("<p><b>") + _("Other Contributors") + wxT("</b><br>") +
wxT("</b><br>") +
GetCreditsByRole(roleContributor) + GetCreditsByRole(roleContributor) +
wxT("<p><br><b>") +
_("Audacity is based on code from the following projects:") + wxT("<p><b>") + _("Audacity is based on code from the following projects:") + wxT("</b><br>") +
wxT("</b><br>") +
GetCreditsByRole(roleLibrary) + GetCreditsByRole(roleLibrary) +
wxT("<p><br><b>") +
_("Special thanks:") + wxT("<p><b>") + _("Special thanks:") + wxT("</b><br>") +
wxT("</b><br>") +
GetCreditsByRole(roleThanks) + GetCreditsByRole(roleThanks) +
wxT("<p><br></center>") +
_("<b>Audacity&reg;</b> software is copyright")+ wxT("<p><br>") + _("<b>Audacity&reg;</b> software is copyright")+
wxT("&copy; 1999-2013 Audacity Team.<br>") + wxT("&copy; 1999-2013 Audacity Team.<br>") +
_("The name <b>Audacity&reg;</b> is a registered trademark of Dominic Mazzoni.") + _("The name <b>Audacity&reg;</b> is a registered trademark of Dominic Mazzoni.") +
wxT("</font></body></html>"); wxT("</center></font></body></html>");
this->SetBackgroundColour(theTheme.Colour( clrAboutBoxBackground )); this->SetBackgroundColour(theTheme.Colour( clrAboutBoxBackground ));