From a5f7dc60c4bf84d115b066eff0865b6d1648db7a Mon Sep 17 00:00:00 2001 From: James Crook Date: Thu, 2 Mar 2017 16:33:19 +0000 Subject: [PATCH] Alpha welcome screen help hyperlinks to alpha manual. --- src/HelpText.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/HelpText.cpp b/src/HelpText.cpp index da97fedcd..33b6afd37 100644 --- a/src/HelpText.cpp +++ b/src/HelpText.cpp @@ -192,7 +192,7 @@ static wxString HelpTextBuiltIn( const wxString & Key ) /// TO-DO: Make the links to help here use the widgets/HelpSystem mechanism /// so that they are consistent /* i18n-hint: Preserve [[file:quick_help.html as it's the name of a file.*/ - return WrapText( + wxString result = wxString(wxT("")) + #if IS_ALPHA wxT("

") + _("Get the Official Released Version of Audacity") + wxT("

") + @@ -207,8 +207,14 @@ static wxString HelpTextBuiltIn( const wxString & Key ) _(" [[file:quick_help.html|Quick Help]] - if not installed locally, [[http://manual.audacityteam.org/quick_help.html|view online]]") + wxT("
  • ") + _(" [[file:index.html|Manual]] - if not installed locally, [[http://manual.audacityteam.org/|view online]]") + wxT("
  • ") + _(" [[http://forum.audacityteam.org/|Forum]] - ask your question directly, online.") + wxT("
  • ") + wxT("") + - _("More: Visit our [[http://wiki.audacityteam.org/index.php|Wiki]] for tips, tricks, extra tutorials and effects plug-ins.") + wxT("

    ") - ); + _("More: Visit our [[http://wiki.audacityteam.org/index.php|Wiki]] for tips, tricks, extra tutorials and effects plug-ins.") + wxT("

    "); + +#if IS_ALPHA + result.Replace( "//manual.audacityteam.org/quick_help.html","//alphamanual.audacityteam.org/man/Quick_Help" ); + result.Replace( "//manual.audacityteam.org/","//alphamanual.audacityteam.org/man/" ); +#endif + + return WrapText( result ); } if(Key==wxT("wma-proprietary")) {