diff --git a/src/webui/abstractwebapplication.cpp b/src/webui/abstractwebapplication.cpp index ffc831924..da78b172b 100644 --- a/src/webui/abstractwebapplication.cpp +++ b/src/webui/abstractwebapplication.cpp @@ -194,7 +194,7 @@ bool AbstractWebApplication::readFile(const QString& path, QByteArray &data, QSt QString dataStr = QString::fromUtf8(data.constData()); translateDocument(dataStr); - if (path.endsWith("about.html")) + if (path.endsWith("about.html") || path.endsWith("index.html") || path.endsWith("client.js")) dataStr.replace("${VERSION}", VERSION); data = dataStr.toUtf8(); diff --git a/src/webui/www/private/index.html b/src/webui/www/private/index.html index 96c7db16d..769b43662 100644 --- a/src/webui/www/private/index.html +++ b/src/webui/www/private/index.html @@ -3,7 +3,7 @@ - QBT_TR(qBittorrent web User Interface)QBT_TR + qBittorrent ${VERSION} QBT_TR(Web UI)QBT_TR diff --git a/src/webui/www/private/login.html b/src/webui/www/private/login.html index 2e8c9ed93..252eb3fb6 100644 --- a/src/webui/www/private/login.html +++ b/src/webui/www/private/login.html @@ -3,7 +3,7 @@ - QBT_TR(qBittorrent web User Interface)QBT_TR + qBittorrent QBT_TR(Web UI)QBT_TR