Audacity 3.2.0
Classes | Functions | Variables
anonymous_namespace{WhatsNewDialog.cpp} Namespace Reference

Classes

struct  FSHelper
 

Functions

wxString MakeWhatsNewText ()
 
wxString MakeGetPluginsText ()
 

Variables

const char * WhatsNewURL = "https://audacityteam.org/3.7.0-video"
 
const char * ChangeLogURL = "https://support.audacityteam.org/additional-resources/changelog"
 
const char * MuseHubURL = "https://www.musehub.com"
 
const char * PromoURL = "https://audacityteam.org/audacitypromo"
 
constexpr auto WindowWidth = 860
 
constexpr auto WindowHeight = 460
 

Detailed Description


Audacity: A Digital Audio Editor

WhatsNewDialog.cpp

Vitaly Sverchinsky

Function Documentation

◆ MakeGetPluginsText()

wxString anonymous_namespace{WhatsNewDialog.cpp}::MakeGetPluginsText ( )

Definition at line 110 of file WhatsNewDialog.cpp.

111{
112 wxStringOutputStream o;
113 wxTextOutputStream s(o);
114 s
115 << wxT("<body>")
116 << wxT("<p><center>")
117 << wxT(R"(<p><a href=")") << PromoURL << wxT(R"(">)")
118 // Bug: (Windows) specified width and height should match exactly to the size of the image
119 << wxT(R"(<img src="memory:musehub.jpeg" width="352" height="198" /><br></a></p>)")
120#if 0
121 //we want to keep these strings, but not display them at the moment
122 << wxT("<h3>") << XO("Get free plugins & sounds")<< wxT("</h3>")
123 << XO("<p>Check out our [[%s|Muse Hub app]] for a wide range of audio plugins for Audacity users</p>").Format(MuseHubURL);
124
125 //we also may need these strings in the future. Adding them to the catalogue now so we don't have to send out multiple translation CTAs
126
127 << wxT("<h3>") << wxT("VocalStrip - Solid State Logic")<< wxT("</h3>")
128 << wxT("<p>") << XO("A vocal processing effect that enhances vocal clarity and depth.") << wxT(" ")
129 << wxT("<h3>") << wxT("Crystalline Next-gen Reverb")<< wxT("</h3>")
130 << wxT("<p>") << XO("A multipurpose reverb plugin for spacious, natural-sounding effects.") << wxT(" ")
131 << wxT("<h3>") << wxT("Ampkit Guitar Modeller")<< wxT("</h3>")
132 << wxT("<p>") << XO("A guitar amp and effects modelling plugin for realistic tones and customizable sounds.") << wxT(" ")
133 << wxT("<h3>") << wxT("BOREALIS Dynamic Reverb")<< wxT("</h3>")
134 << wxT("<p>") << XO("A responsive reverb plugin that adapts to track dynamics for immersive soundscapes.") << wxT(" ")
135 << wxT("<h3>") << wxT("LANDR FX Voice")<< wxT("</h3>")
136 << wxT("<p>") << XO("A vocal multi-effect plugin that enhances vocal tracks for professional results.") << wxT(" ")
137 << wxT("<h3>") << wxT("LANDR FX Bass")<< wxT("</h3>")
138 << wxT("<p>") << XO("A bass effect plugin designed to deliver punchy, clear low-end sound.") << wxT(" ")
139 << wxT("<h3>") << wxT("LANDR FX Acoustic:")<< wxT("</h3>")
140 << wxT("<p>") << XO("A plugin for acoustic sound perfection, enhancing warmth and clarity.") << wxT(" ")
141 << wxT("<h3>") << wxT("Pristine Voice")<< wxT("</h3>")
142 << wxT("<p>") << XO("An amazing voice enhancement plugin for crystal-clear, professional vocal effects.") << wxT(" ")
143 << wxT("<h3>") << wxT("Remix Source Separation")<< wxT("</h3>")
144 << wxT("<p>") << XO("A real-time stem separation tool to isolate vocals, drums, and instruments.") << wxT(" ")
145 << wxT("<h3>") << wxT("Recommended effects plugins for Audacity")<< wxT("</h3>")
146 << wxT("<p>") << XO("Check out a variety of plugins by well known developers available on [[%s|MuseHub]].").Format(MuseHubURL)
147
148#endif
149
150 << wxT("<h3>") << wxT("Polyspectral Multiband Compressor")<< wxT("</h3>")
151 << wxT("<p>") << XO("A multiband compressor offering precise control over frequencies.") << wxT(" ")
152 /*i18n-hint: MuseHub is a name of a product, see musehub.com. */
153 << XO("Available on [[%s|MuseHub]].").Format(MuseHubURL) << wxT("</p>");
154
155 return FormatHtmlText(o.GetString());
156}
wxT("CloseDown"))
XO("Cut/Copy/Paste")
wxString FormatHtmlText(const wxString &Text)
Definition: HelpText.cpp:258

References FormatHtmlText(), MuseHubURL, PromoURL, wxT(), and XO().

Referenced by WhatsNewDialog::Populate().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MakeWhatsNewText()

wxString anonymous_namespace{WhatsNewDialog.cpp}::MakeWhatsNewText ( )

Definition at line 93 of file WhatsNewDialog.cpp.

94{
95 wxStringOutputStream o;
96 wxTextOutputStream s(o);
97 s
98 << wxT("<body>")
99 << wxT("<p><center>")
100 << wxT(R"(<p><a href=")") << WhatsNewURL << wxT(R"(">)")
101 // Bug: (Windows) specified width and height should match exactly to the size of the image
102 << wxT(R"(<img src="memory:whats_new_btn.jpeg" width="352" height="198" /><br></a></p>)")
103 << wxT("<h3>") << XO("What's new in Audacity %s").Format(AUDACITY_VERSION_STRING) << wxT("</h3>")
104 << wxT("<p>")
105 << XO("Watch the [[%s|release video]] or read the [[%s|changelog]] to learn more about what we have included in the latest release!</p>").Format(WhatsNewURL, ChangeLogURL);
106
107 return FormatHtmlText(o.GetString());
108}

References ChangeLogURL, FormatHtmlText(), WhatsNewURL, wxT(), and XO().

Referenced by WhatsNewDialog::Populate().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ChangeLogURL

const char* anonymous_namespace{WhatsNewDialog.cpp}::ChangeLogURL = "https://support.audacityteam.org/additional-resources/changelog"

Definition at line 43 of file WhatsNewDialog.cpp.

Referenced by MakeWhatsNewText().

◆ MuseHubURL

const char* anonymous_namespace{WhatsNewDialog.cpp}::MuseHubURL = "https://www.musehub.com"

Definition at line 44 of file WhatsNewDialog.cpp.

Referenced by MakeGetPluginsText().

◆ PromoURL

const char* anonymous_namespace{WhatsNewDialog.cpp}::PromoURL = "https://audacityteam.org/audacitypromo"

Definition at line 45 of file WhatsNewDialog.cpp.

Referenced by MakeGetPluginsText().

◆ WhatsNewURL

const char* anonymous_namespace{WhatsNewDialog.cpp}::WhatsNewURL = "https://audacityteam.org/3.7.0-video"

Definition at line 42 of file WhatsNewDialog.cpp.

Referenced by MakeWhatsNewText().

◆ WindowHeight

constexpr auto anonymous_namespace{WhatsNewDialog.cpp}::WindowHeight = 460
constexpr

Definition at line 53 of file WhatsNewDialog.cpp.

Referenced by WhatsNewDialog::WhatsNewDialog().

◆ WindowWidth

constexpr auto anonymous_namespace{WhatsNewDialog.cpp}::WindowWidth = 860
constexpr

Definition at line 48 of file WhatsNewDialog.cpp.

Referenced by WhatsNewDialog::WhatsNewDialog().