mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-10 23:42:46 -07:00
Web UI: Changes in title bar
This commit is contained in:
parent
2c1d76c87f
commit
c5ce99ebec
5 changed files with 10 additions and 9 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue