Audacity 3.2.0
ProjectLimitDialog.cpp
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 ProjectLimitDialog.cpp
7
8 Dmitry Vedenko
9
10**********************************************************************/
11#include "ProjectLimitDialog.h"
12
14{
18{
19 AddTitle(XO("Your project storage limit has been reached."));
21 "You may need to remove older projects to make space available. For more options, visit audio.com"));
23 XO("You can also save this project locally to avoid losing changes."));
24 AddButton(SaveLocallyButtonIdentifier(), XO("Save to computer"));
25 AddButton(VisitAudioComIdentifier(), XO("Visit audio.com"), DefaultButton);
26}
28{
29 return { "save" };
30}
31
33{
34 return { "visit" };
35}
36} // namespace audacity::cloud::audiocom::sync
XO("Cut/Copy/Paste")
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
void AddTitle(const TranslatableString &title)
void AddButton(DialogButtonIdentifier identifier, const TranslatableString &text, int type=None)
void AddParagraph(const TranslatableString &paragraph)
static DialogButtonIdentifier SaveLocallyButtonIdentifier()