Browse Source

Improved Web UI translation

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
4a66c33a2c
  1. 1
      src/webui/httpserver.cpp
  2. 2
      src/webui/scripts/client.js

1
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 username must be at least 3 characters long.");
a = tr("The Web UI password 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("Save");
a = tr("qBittorrent client is not reachable");
} }
HttpServer::~HttpServer() HttpServer::~HttpServer()

2
src/webui/scripts/client.js

@ -212,7 +212,7 @@ window.addEvent('load', function(){
noCache: true, noCache: true,
method: 'get', method: 'get',
onFailure: function() { onFailure: function() {
$('error_div').set('html', 'qBittorrent client is not reachable'); $('error_div').set('html', '_(qBittorrent client is not reachable)');
waitingTrInfo=false; waitingTrInfo=false;
loadTransferInfo.delay(4000); loadTransferInfo.delay(4000);
}, },

Loading…
Cancel
Save