diff --git a/src/webui/api/torrentscontroller.cpp b/src/webui/api/torrentscontroller.cpp index e1af67a81..4c7083c51 100644 --- a/src/webui/api/torrentscontroller.cpp +++ b/src/webui/api/torrentscontroller.cpp @@ -1273,7 +1273,7 @@ void TorrentsController::addPeersAction() } 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;