1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

ShuttleGui::StartNotebookPage takes TranslatableString...

... and remove an unused overload
This commit is contained in:
Paul Licameli
2019-12-26 14:08:52 -05:00
parent 744f4b626c
commit 8b65b1ae08
5 changed files with 11 additions and 31 deletions

View File

@@ -411,7 +411,7 @@ visit our [[https://forum.audacityteam.org/|forum]].");
wxT("</center>")
);
auto pPage = S.StartNotebookPage( _("Audacity") );
auto pPage = S.StartNotebookPage( XO("Audacity") );
S.StartVerticalLay(1);
{
//v For now, change to AudacityLogoWithName via old-fashioned way, not Theme.
@@ -464,7 +464,7 @@ visit our [[https://forum.audacityteam.org/|forum]].");
void AboutDialog::PopulateInformationPage( ShuttleGui & S )
{
wxString informationStr; // string to build up list of information in
S.StartNotebookPage( _("Build Information") ); // start the tab
S.StartNotebookPage( XO("Build Information") ); // start the tab
S.StartVerticalLay(2); // create the window
HtmlWindow *html = safenew LinkingHtmlWindow(S.GetParent(), -1, wxDefaultPosition,
wxSize(ABOUT_DIALOG_WIDTH, 264),
@@ -718,7 +718,7 @@ void AboutDialog::PopulateInformationPage( ShuttleGui & S )
void AboutDialog::PopulateLicensePage( ShuttleGui & S )
{
S.StartNotebookPage( _("GPL License") );
S.StartNotebookPage( XO("GPL License") );
S.StartVerticalLay(1);
HtmlWindow *html = safenew LinkingHtmlWindow(S.GetParent(), -1,
wxDefaultPosition,