15#include <wx/stattext.h>
25 XO(
"App update checking");
29 XO(
"To stay up to date, you will receive an in-app notification whenever there is a new version of Audacity available to download.");
33 XO(
"In order to protect your privacy, Audacity does not collect any personal information. However, app update checking does require network access.");
37 XO(
"You can turn off app update checking at any time in %s.");
50 parent, -1,
XO("
App updates"), wxDefaultPosition, wxDefaultSize,
51 wxCAPTION | wxCLOSE_BOX)
59 S.StartHorizontalLay(wxEXPAND, 0);
67 wxStaticText* titleCtrl =
S.AddVariableText(
title,
false, 0, 500);
69 wxFont font = titleCtrl->GetFont().MakeLarger().MakeBold();
71 titleCtrl->SetFont(font);
84 wxT(
"%s"),
XO(
"our Privacy Policy"),
85 "https://www.audacityteam.org/about/desktop-privacy-notice/");
93 wxT(
"%s"),
XO(
"Preferences > Application"), [
this]() {
106 S.EndHorizontalLay();
108 S.StartHorizontalLay(wxEXPAND);
116 S.EndHorizontalLay();
Declare functions to perform UTF-8 to std::wstring conversions.
EVT_BUTTON(wxID_NO, DependencyDialog::OnNo) EVT_BUTTON(wxID_YES
static const auto firstParagraph
static const auto secondParagraph
static const auto thirdParagraph
Define a dialog to notify the user about automatic update checking.
void SelectPageByName(const wxString &pageName)
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Dialog, that notifies the users about automatic updates checking.
void OnOk(wxCommandEvent &)
void OnSize(wxSizeEvent &)
void SetFocus(const WindowPlacement &focus)
Set the window that accepts keyboard input.