WebAPI: translate error message

This commit is contained in:
Thomas Piccirello 2025-08-09 18:17:54 -07:00
commit 5349ee4853
No known key found for this signature in database

View file

@ -1273,7 +1273,7 @@ void TorrentsController::addPeersAction()
} }
if (peerList.isEmpty()) if (peerList.isEmpty())
throw APIError(APIErrorType::BadParams, u"No valid peers were specified"_s); throw APIError(APIErrorType::BadParams, tr("No valid peers were specified"));
QJsonObject results; QJsonObject results;