diff --git a/src/webui/httpserver.cpp b/src/webui/httpserver.cpp index 66f6e731e..028f316ea 100644 --- a/src/webui/httpserver.cpp +++ b/src/webui/httpserver.cpp @@ -127,6 +127,7 @@ HttpServer::HttpServer(int msec, QObject* parent) : QTcpServer(parent) { a = tr("The Web UI username must be at least 3 characters long."); a = tr("The Web UI password must be at least 3 characters long."); a = tr("Save"); + a = tr("qBittorrent client is not reachable"); } HttpServer::~HttpServer() diff --git a/src/webui/scripts/client.js b/src/webui/scripts/client.js index 1c876bab4..1d5362f92 100644 --- a/src/webui/scripts/client.js +++ b/src/webui/scripts/client.js @@ -212,7 +212,7 @@ window.addEvent('load', function(){ noCache: true, method: 'get', onFailure: function() { - $('error_div').set('html', 'qBittorrent client is not reachable'); + $('error_div').set('html', '_(qBittorrent client is not reachable)'); waitingTrInfo=false; loadTransferInfo.delay(4000); },