20 XO(
"You are not authorized to access this project.");
22 XO(
"You tried to access a project that has expired.");
24 XO(
"Audacity had trouble connecting to the server.");
26 "The project is too large to upload. Please save it to your computer instead.");
30 XO(
"The server responded with something Audacity could not understand.");
32 XO(
"Audacity encountered an internal error.");
34 XO(
"Audio.com encountered an internal error.");
130 const std::string& log,
DialogMode dialogMode)
133 AddTitle(
XO(
"Sync failed"));
135 AddParagraph(message);
140 AddButton(CancelButtonIdentifier(),
XO(
"OK"), DefaultButton | EscButton);
Declare functions to perform UTF-8 to std::wstring conversions.
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Holds a msgid for the translation catalog; may also bind format arguments.
SyncFailedDialog(const AudacityProject *project, const TranslatableString &message, const std::string &log, DialogMode dialogMode)
static void OnOpen(const CloudSyncError &error)
static void OnSave(const CloudSyncError &error)
const auto MessageInternalServerError
const auto MessageTooLarge
const auto MessageAuthorizationFailed
const auto MessageUnknownError
const auto MessageInternalClientError
TranslatableString GetMessage(const ResponseResult &error)
const auto MessageNotFound
const auto MessageUnexpectedResponse
const auto MessageConnectionFailed
const auto MessageForbidden
const auto MessageExpired
wxString ToWXString(const std::string &str)