95{
96
97
98 const auto alphamsg =
XO(
99 "<br><br>The version of Audacity you are using is an <b>Alpha test version</b>.");
100 const auto betamsg =
XO(
101 "<br><br>The version of Audacity you are using is a <b>Beta test version</b>.");
102
103 wxStringOutputStream o;
104 wxTextOutputStream s(o);
105 s <<
wxT(
"<body bgcolor=") <<
theTheme.
Colour(clrTrackInfo).GetAsString(wxC2S_HTML_SYNTAX) <<
wxT(
">")
106 <<
wxT(
"<font color=") <<
theTheme.
Colour(clrTrackPanelText).GetAsString(wxC2S_HTML_SYNTAX) <<
wxT(
">")
108#if defined(IS_ALPHA) || defined(IS_BETA)
109 <<
wxT(
"<center><h3>")
110 <<
XO(
"Get the Official Released Version of Audacity")
111 <<
wxT(
"</h3></center>")
112 <<
wxT(
"<center>[[https://www.audacityteam.org/download|") <<
XO(
"Check Online") <<
wxT(
"]]</center>")
113# ifdef IS_ALPHA
114 << alphamsg
115# else
116 << betamsg
117# endif
119 <<
XO(
"We strongly recommend that you use our latest stable released version, which has full documentation and support.<br/><br/>")
120 <<
XO(
"You can help us get Audacity ready for release by joining our [[https://www.audacityteam.org/community/|community]].<hr/><br/><br/>")
121#endif
122
123 <<
wxT(
"<center><h3>")
124#ifndef HAS_WHATS_NEW
125 <<
wxT(
"Audacity ") << AUDACITY_VERSION_STRING
126#else
127
128 <<
XO(
"What's new in Audacity %s").Format(AUDACITY_VERSION_STRING)
129 <<
wxT(R
"(</h3><p><a href=")") << WhatsNewURL << wxT(R"(">)")
131 R"(<img src="memory:whats_new_btn.jpeg" width="263" height="148" /></a></p>)")
132 << XO("<p>In this release we added Beats & Measures, Time Stretching and more.<br/>")
133 <<
XO(
"Watch the [[%s|release video]] or read the [[https://support.audacityteam.org/additional-resources/changelog|changelog]] to learn more!</p>").Format(WhatsNewURL)
134#endif
135 <<
wxT(
"<h3>") <<
XO(
"How to get help") <<
wxT(
"</h3></center>")
136 <<
XO(
"These are our support methods:")
137 <<
wxT(
"<p><ul><li>")
138
139
140 <<
XO(
"[[help:Quick_Help|Quick Help]]") <<
wxT(
"</li><li>")
142
143
144 " [[help:Main_Page|Manual]]")
146 <<
XO(
"[[https://support.audacityteam.org/|Tutorials & How-tos]]")
148 <<
XO(
" [[https://forum.audacityteam.org/|Forum]] - ask your question directly, online.")
149 <<
wxT(
"</li></ul></p>") <<
wxT(
"</p></font></body>");
150
152}
wxString FormatHtmlText(const wxString &Text)
wxColour & Colour(int iIndex)