diff --git a/src/webui/www/public/index.html b/src/webui/www/public/index.html
index 226fef74d..f80bc15aa 100644
--- a/src/webui/www/public/index.html
+++ b/src/webui/www/public/index.html
@@ -5,7 +5,7 @@
-
-
qBittorrent QBT_TR(WebUI)QBT_TR[CONTEXT=OptionsDialog]
+
qBittorrent WebUI
diff --git a/src/webui/www/public/scripts/login.js b/src/webui/www/public/scripts/login.js
index 44f40000f..41d0c6698 100644
--- a/src/webui/www/public/scripts/login.js
+++ b/src/webui/www/public/scripts/login.js
@@ -45,13 +45,13 @@ function submitLoginForm(event) {
if ((xhr.status === 200) && (xhr.responseText === "Ok."))
location.reload(true);
else
- errorMsgElement.textContent = 'QBT_TR(Invalid Username or Password.)QBT_TR[CONTEXT=HttpServer]';
+ errorMsgElement.textContent = 'Invalid Username or Password.';
}
});
xhr.addEventListener('error', function() {
errorMsgElement.textContent = (xhr.responseText !== "")
? xhr.responseText
- : 'QBT_TR(Unable to log in, qBittorrent is probably unreachable.)QBT_TR[CONTEXT=HttpServer]';
+ : 'Unable to log in, qBittorrent is probably unreachable.';
});
const usernameElement = document.getElementById('username');