refactor: modify response json

This commit is contained in:
albexk 2024-11-08 11:12:56 +03:00
parent d7581f29ba
commit 9ebefe79ca
5 changed files with 32 additions and 31 deletions

View file

@ -73,6 +73,7 @@ QString errorString(ErrorCode code) {
case(ErrorCode::AbortError): errorMessage = QObject::tr("QFile error: The operation was aborted"); break;
// Billing errors
case(ErrorCode::BillingCanceled): errorMessage = QObject::tr("Transaction was canceled by the user"); break;
case(ErrorCode::BillingError): errorMessage = QObject::tr("Billing error"); break;
case(ErrorCode::BillingGooglePlayError): errorMessage = QObject::tr("Internal Google Play error, please try again later"); break;
case(ErrorCode::BillingUnavailable): errorMessage = QObject::tr("Billing is unavailable, please try again later"); break;