- Added console message for Web UI (with port)

- Updated language files
This commit is contained in:
Christophe Dumez 2009-12-30 09:49:56 +00:00
parent f96ec75eec
commit 907e620e9e
29 changed files with 2337 additions and 1313 deletions

View file

@ -516,7 +516,7 @@ bool Bittorrent::initWebUi(QString username, QString password, int port) {
if(!httpServer->isListening()) {
success = httpServer->listen(QHostAddress::Any, port);
if (success)
qDebug("Web UI listening on port %d", port);
addConsoleMessage(tr("The Web UI is listening on port %1").arg(port));
else
addConsoleMessage(tr("Web User Interface Error - Unable to bind Web UI to port %1").arg(port), QColor("red"));
}