diff --git a/src/app/application.cpp b/src/app/application.cpp
index acd650f5a..4e69fd236 100644
--- a/src/app/application.cpp
+++ b/src/app/application.cpp
@@ -842,7 +842,7 @@ catch (const RuntimeError &err)
#else
QMessageBox msgBox;
msgBox.setIcon(QMessageBox::Critical);
- msgBox.setText(tr("Application failed to start."));
+ msgBox.setText(QCoreApplication::translate("Application", "Application failed to start."));
msgBox.setInformativeText(err.message());
msgBox.show(); // Need to be shown or to moveToCenter does not work
msgBox.move(Utils::Gui::screenCenter(&msgBox));
diff --git a/src/webui/www/private/download.html b/src/webui/www/private/download.html
index d02b868e4..a101a9a9f 100644
--- a/src/webui/www/private/download.html
+++ b/src/webui/www/private/download.html
@@ -28,8 +28,8 @@
- Manual
- Automatic
+ QBT_TR(Manual)QBT_TR[CONTEXT=AddNewTorrentDialog]
+ QBT_TR(Automatic)QBT_TR[CONTEXT=AddNewTorrentDialog]
diff --git a/src/webui/www/private/upload.html b/src/webui/www/private/upload.html
index 4fb58fa68..a656d07df 100644
--- a/src/webui/www/private/upload.html
+++ b/src/webui/www/private/upload.html
@@ -24,8 +24,8 @@
- Manual
- Automatic
+ QBT_TR(Manual)QBT_TR[CONTEXT=AddNewTorrentDialog]
+ QBT_TR(Automatic)QBT_TR[CONTEXT=AddNewTorrentDialog]
diff --git a/src/webui/www/private/views/preferences.html b/src/webui/www/private/views/preferences.html
index 1d7a23a93..fe35cbbe3 100644
--- a/src/webui/www/private/views/preferences.html
+++ b/src/webui/www/private/views/preferences.html
@@ -413,7 +413,8 @@
QBT_TR(From:)QBT_TR[CONTEXT=OptionsDialog]
- : QBT_TR(To:)QBT_TR[CONTEXT=OptionsDialog]
+ :
+ QBT_TR(To:)QBT_TR[CONTEXT=OptionsDialog]
:
diff --git a/src/webui/www/private/views/search.html b/src/webui/www/private/views/search.html
index d38d7be37..cefb4654c 100644
--- a/src/webui/www/private/views/search.html
+++ b/src/webui/www/private/views/search.html
@@ -92,7 +92,9 @@
- There aren't any search plugins installed. Click the "Search plugins..." button at the bottom right of the window to install some.
+ QBT_TR(There aren't any search plugins installed.)QBT_TR[CONTEXT=SearchEngineWidget]
+
+ QBT_TR(Click the "Search plugins..." button at the bottom right of the window to install some.)QBT_TR[CONTEXT=SearchEngineWidget]