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) { @@ -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()

2
src/webui/scripts/client.js

@ -212,7 +212,7 @@ window.addEvent('load', function(){ @@ -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);
},

Loading…
Cancel
Save