mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 05:43:32 -07:00
WebAPI: translate error message
This commit is contained in:
parent
3acddf7dc1
commit
5349ee4853
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue